...
This commit is contained in:
parent
2b9402d3f5
commit
27552a573e
11 changed files with 414 additions and 71 deletions
|
|
@ -2,7 +2,7 @@
|
|||
### 1) Include useful packages
|
||||
######################################################################################
|
||||
|
||||
FIND_PACKAGE(Boost 1.33.0 REQUIRED)
|
||||
#FIND_PACKAGE(Boost 1.33.0 REQUIRED)
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
|
@ -11,16 +11,7 @@ FIND_PACKAGE(Boost 1.33.0 REQUIRED)
|
|||
### 2) Include the sources
|
||||
######################################################################################
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${PARADISEO_EO_SRC_DIR}/src
|
||||
${PARADISEO_MO_SRC_DIR}/src
|
||||
${PARADISEO_MOEO_SRC_DIR}/src
|
||||
${PARADISEO_PEO_SRC_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/lib/eometah
|
||||
${CMAKE_SOURCE_DIR}/lib/nk-landscapes
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
#INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
|
@ -32,8 +23,9 @@ INCLUDE_DIRECTORIES(
|
|||
SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
FILE(GLOB SOURCES *.cpp)
|
||||
SET(SAMPLE_SRCS ${SOURCES} PARENT_SCOPE)
|
||||
|
||||
ADD_LIBRARY(${PROJECT_NAME} STATIC ${SOURCES})
|
||||
ADD_LIBRARY(${PROJECT_NAME} STATIC ${SAMPLE_SRCS})
|
||||
|
||||
# INSTALL(
|
||||
# TARGETS ${LIBRARY_OUTPUT_PATH}/lib${PROJECT_NAME}.a
|
||||
|
|
|
|||
Reference in a new issue