
######################################################################################
### 0) Include the install configuration file where are defined the main variables
######################################################################################

INCLUDE(${CMAKE_SOURCE_DIR}/install.cmake)

######################################################################################


######################################################################################
### 1) Set your application properties
######################################################################################

# Define your project name
PROJECT(tsp)

######################################################################################


######################################################################################
### 2) Include the sources
######################################################################################

INCLUDE_DIRECTORIES(${PARADISEO_EO_SRC_DIR}/src)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)

######################################################################################


######################################################################################
### 3) Specify where CMake can find the libraries
######################################################################################

LINK_DIRECTORIES(${PARADISEO_EO_BIN_DIR}/lib)

######################################################################################



######################################################################################
### 4) Define your target: just an executable here
######################################################################################

ADD_EXECUTABLE(tsp tsp.cpp) 
ADD_DEPENDENCIES(tsp ltsp)

######################################################################################


######################################################################################
### 5) Link the librairies for your executable
######################################################################################

TARGET_LINK_LIBRARIES(tsp eo eoutils ltsp) 

######################################################################################


######################################################################################
### 6) Subdirs
######################################################################################

SUBDIRS(src)

######################################################################################




