move tsp source files
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@520 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
2dc84beef3
commit
4e47d9cca9
1 changed files with 0 additions and 0 deletions
66
trunk/paradiseo-peo/tutorial/examples/tsp/CMakeLists.txt
Normal file
66
trunk/paradiseo-peo/tutorial/examples/tsp/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
### 1) Include the sources
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${EO_SRC_DIR})
|
||||||
|
INCLUDE_DIRECTORIES(${MO_SRC_DIR})
|
||||||
|
INCLUDE_DIRECTORIES(${PEO_SRC_DIR})
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
### 2) Define your target(s): just the tsp lib here
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
SET(TSP_LIB_OUTPUT_PATH ${TSP_EXAMPLE_DIR}/build)
|
||||||
|
SET(LIBRARY_OUTPUT_PATH ${TSP_LIB_OUTPUT_PATH})
|
||||||
|
|
||||||
|
SET (TSP_SOURCES data.h
|
||||||
|
data.cpp
|
||||||
|
opt_route.h
|
||||||
|
opt_route.cpp
|
||||||
|
param.h
|
||||||
|
param.cpp
|
||||||
|
node.h
|
||||||
|
node.cpp
|
||||||
|
route.h
|
||||||
|
route.cpp
|
||||||
|
route_init.h
|
||||||
|
route_init.cpp
|
||||||
|
route_eval.h
|
||||||
|
route_eval.cpp
|
||||||
|
two_opt.h
|
||||||
|
two_opt.cpp
|
||||||
|
two_opt_init.h
|
||||||
|
two_opt_init.cpp
|
||||||
|
two_opt_incr_eval.h
|
||||||
|
two_opt_incr_eval.cpp
|
||||||
|
two_opt_next.h
|
||||||
|
two_opt_next.cpp
|
||||||
|
order_xover.h
|
||||||
|
order_xover.cpp
|
||||||
|
partial_mapped_xover.h
|
||||||
|
partial_mapped_xover.cpp
|
||||||
|
edge_xover.h
|
||||||
|
edge_xover.cpp
|
||||||
|
city_swap.h
|
||||||
|
city_swap.cpp
|
||||||
|
part_route_eval.h
|
||||||
|
part_route_eval.cpp
|
||||||
|
merge_route_eval.h
|
||||||
|
merge_route_eval.cpp)
|
||||||
|
|
||||||
|
ADD_LIBRARY(tsp STATIC ${TSP_SOURCES})
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
### 3) Optionnal: define your lib's version
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
SET(TSP_VERSION "1.0.beta")
|
||||||
|
SET_TARGET_PROPERTIES(tsp PROPERTIES VERSION "${TSP_VERSION}")
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
Loading…
Reference in a new issue