Mercurial > hg > icedrobot > icedrobot
view make/CMakeLists.txt @ 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 | |
children |
line wrap: on
line source
# 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")