added cmake files

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@460 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
legrand 2007-06-29 11:36:08 +00:00
commit beb66bd631
4 changed files with 126 additions and 0 deletions

View file

@ -0,0 +1,49 @@
######################################################################################
### 1) Include the sources
######################################################################################
INCLUDE_DIRECTORIES(${EO_SRC_DIR})
######################################################################################
######################################################################################
### 2) Define your target(s): just the peo library here
######################################################################################
SET(CORE_LIB_OUTPUT_PATH ${PEO_DIR}/build)
SET(LIBRARY_OUTPUT_PATH ${CORE_LIB_OUTPUT_PATH})
SET (CORE_SOURCES peo_init.cpp
peo_fin.cpp
peo_run.cpp
peo_param.cpp
peo_debug.cpp
thread.cpp
reac_thread.cpp
service.cpp
runner.cpp
communicable.cpp
topology.cpp
ring_topo.cpp)
ADD_LIBRARY(peo STATIC ${CORE_SOURCES})
######################################################################################
######################################################################################
### 3) Optionnal: define your target(s)'s version: no effect for windows
######################################################################################
SET(CORE_VERSION "1.0.beta")
SET_TARGET_PROPERTIES(peo PROPERTIES VERSION "${CORE_VERSION}")
######################################################################################