Mercurial > hg > icedrobot > icedrobot
changeset 1:337c19469944
Use common definitions for CMake projects.
author | Mario Torre <neugens.limasoftware@gmail.com> |
---|---|
date | Wed, 16 Feb 2011 23:20:00 +0100 |
parents | 49d687bd1401 |
children | 19d15fc7f077 |
files | make/CMakeLists.txt projects/IcedRobot_DalvikVM_VM/nbproject/configurations.xml |
diffstat | 2 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/CMakeLists.txt Wed Feb 16 23:20:00 2011 +0100 @@ -0,0 +1,23 @@ +# IcedRobot CMakeList file +# (C) the IcedRobot team +# see www.icedrobot.org details and contacts + +# Common build properties used by all the CMake projects + +cmake_minimum_required(VERSION 2.8) + +add_definitions( +-Wall +-lpthread +-DHAVE_PTHREADS +-DHAVE_SYS_UIO_H +-DANDROID_SMP=1 +-DHAVE_STDINT_H +-DHAVE_STDBOOL_H +) + +SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH) +SET (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +SET (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) + +MESSAGE(STATUS "main definitions loaded")
--- a/projects/IcedRobot_DalvikVM_VM/nbproject/configurations.xml Wed Feb 16 01:44:41 2011 +0100 +++ b/projects/IcedRobot_DalvikVM_VM/nbproject/configurations.xml Wed Feb 16 23:20:00 2011 +0100 @@ -93,6 +93,7 @@ displayName="Important Files" projectFiles="false" kind="IMPORTANT_FILES_FOLDER"> + <itemPath>../../make/CMakeLists.txt</itemPath> <itemPath>Makefile</itemPath> <itemPath>../../make/build.xml</itemPath> </logicalFolder>