# HG changeset patch # User Mario Torre # Date 1297894800 -3600 # Node ID 337c19469944a0474f362ed11d0176557a318bd2 # Parent 49d687bd1401cde5248348701d2e298d189a413b Use common definitions for CMake projects. diff -r 49d687bd1401 -r 337c19469944 make/CMakeLists.txt --- /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") diff -r 49d687bd1401 -r 337c19469944 projects/IcedRobot_DalvikVM_VM/nbproject/configurations.xml --- 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"> + ../../make/CMakeLists.txt Makefile ../../make/build.xml