Cmake configuration modified

This commit is contained in:
paradiseo 2009-01-14 14:50:46 +00:00
commit 080f98bffa
19 changed files with 16 additions and 201 deletions

View file

@ -1,13 +1,9 @@
######################################################################################
### 1) Include the sources
######################################################################################
INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src)
######################################################################################
######################################################################################
### 2) Specify where CMake can find the libraries
######################################################################################
@ -21,9 +17,6 @@ IF(WIN32 AND NOT CYGWIN)
LINK_DIRECTORIES(${EO_BINARY_DIR}\\lib\\${CMAKE_BUILD_TYPE})
ENDIF(WIN32 AND NOT CYGWIN)
######################################################################################
######################################################################################
### 3) Define your targets
######################################################################################
@ -31,9 +24,6 @@ ENDIF(WIN32 AND NOT CYGWIN)
ADD_EXECUTABLE(BinaryPSO BinaryPSO.cpp)
ADD_EXECUTABLE(RealPSO RealPSO.cpp)
######################################################################################
######################################################################################
### 4) Optionnal
######################################################################################
@ -44,9 +34,6 @@ SET_TARGET_PROPERTIES(BinaryPSO PROPERTIES VERSION "${BINARYPSO_VERSION}")
SET(REALPSO_VERSION ${GLOBAL_VERSION})
SET_TARGET_PROPERTIES(RealPSO PROPERTIES VERSION "${REALPSO_VERSION}")
######################################################################################
######################################################################################
### 5) Link the librairies for the targets
######################################################################################