Completed CMake config
This commit is contained in:
parent
45dff2e35f
commit
112b34bceb
16 changed files with 104 additions and 72 deletions
|
|
@ -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}")
|
||||
|
||||
######################################################################################
|
||||
|
|
|
|||
Reference in a new issue