48 lines
1.7 KiB
CMake
48 lines
1.7 KiB
CMake
|
|
######################################################################################
|
|
### 1) Include the sources
|
|
######################################################################################
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
######################################################################################
|
|
|
|
|
|
|
|
######################################################################################
|
|
### 2) Define the eo target
|
|
######################################################################################
|
|
|
|
SET(EO_LIB_OUTPUT_PATH ${EO_BINARY_DIR}/lib)
|
|
SET(LIBRARY_OUTPUT_PATH ${EO_LIB_OUTPUT_PATH})
|
|
|
|
SET (EO_SOURCES eoFunctorStore.cpp
|
|
eoPersistent.cpp
|
|
eoPrintable.cpp
|
|
eoCtrlCContinue.cpp
|
|
eoParetoFitness.cpp
|
|
eoScalarFitnessAssembled.cpp)
|
|
|
|
|
|
ADD_LIBRARY(eo STATIC ${EO_SOURCES})
|
|
|
|
######################################################################################
|
|
|
|
|
|
######################################################################################
|
|
### 3) Optionnal: define your target(s)'s version: no effect for windows
|
|
######################################################################################
|
|
|
|
SET(EO_VERSION ${GLOBAL_VERSION})
|
|
SET_TARGET_PROPERTIES(eo PROPERTIES VERSION "${EO_VERSION}")
|
|
######################################################################################
|
|
|
|
|
|
######################################################################################
|
|
### 4) Where must cmake go now ?
|
|
######################################################################################
|
|
|
|
SUBDIRS(do es ga gp moo other utils) # forget pyeo for the moment
|
|
|
|
######################################################################################
|
|
|