Skip to content
Snippets Groups Projects
Commit 3c95b4a0 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

testing..

parent 59abe443
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required (VERSION 2.6) cmake_minimum_required(VERSION 2.6)
include($ENV{CHAOS_BUNDLE}/tools/project_template/CMakeChaos.txt)
project (chaos) project (chaos)
SET( ${PROJECT_NAME}_MAJOR_VERSION 0 ) SET( ${PROJECT_NAME}_MAJOR_VERSION 0 )
SET( ${PROJECT_NAME}_MINOR_VERSION 1 ) SET( ${PROJECT_NAME}_MINOR_VERSION 1 )
SET( ${PROJECT_NAME}_PATCH_LEVEL 0 ) SET( ${PROJECT_NAME}_PATCH_LEVEL 0 )
IF( NOT BUILD_FORCE_STATIC)
add_definitions(-DBOOST_ALL_DYN_LINK)
ENDIF()
add_definitions(-DDEBUG) add_definitions(-DDEBUG)
OPTION( BUILD_FORCE_32 "Force 32 bit compilation" OFF )
EXECUTE_PROCESS(COMMAND chaos/common/version.sh) EXECUTE_PROCESS(COMMAND chaos/common/version.sh)
INCLUDE_DIRECTORIES(. ${CMAKE_INSTALL_PREFIX}/include /usr/local/include)
LINK_DIRECTORIES(${CMAKE_INSTALL_PREFIX}/lib /usr/local/lib)
ADD_DEFINITIONS(-O3 ) ADD_DEFINITIONS(-O3 )
IF( BUILD_FORCE_32 )
MESSAGE( STATUS "Forcing 32 bit compilation" )
set (CMAKE_C_FLAGS "-m32 ")
set (CMAKE_CXX_FLAGS "-m32")
set (CMAKE_LINK_FLAGS "-m32")
ENDIF()
IF(NOT BUILD_PREFIX) IF(NOT BUILD_PREFIX)
set (BUILD_PREFIX usr/local) set (BUILD_PREFIX usr/local)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment