Completed CMake config

This commit is contained in:
tlegrand 2007-09-18 15:12:22 +00:00
commit 112b34bceb
16 changed files with 104 additions and 72 deletions

View file

@ -10,13 +10,15 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
######################################################################################
### 2) Define the ga target
### 2) Define the eomoo target
######################################################################################
SET(EOMOO_LIB_OUTPUT_PATH ${EO_BINARY_DIR}/lib)
SET(LIBRARY_OUTPUT_PATH ${EOMOO_LIB_OUTPUT_PATH})
SET (EOMOO_SOURCES eoFrontSorter.cpp )
SET (EOMOO_SOURCES eoFrontSorter.cpp
eoNSGA_IIa_Eval.cpp
eoNSGA_II_Eval.cpp)
ADD_LIBRARY(eomoo STATIC ${EOMOO_SOURCES})
@ -28,7 +30,7 @@ ADD_LIBRARY(eomoo STATIC ${EOMOO_SOURCES})
### 3) Optionnal
######################################################################################
SET(EOMOO_VERSION "1.0.1")
SET(EOMOO_VERSION ${GLOBAL_VERSION})
SET_TARGET_PROPERTIES(eomoo PROPERTIES VERSION "${EOMOO_VERSION}")
######################################################################################