This commit is contained in:
Caner Candan 2010-07-05 20:39:41 +02:00
commit 45a9cb88e0
2 changed files with 36 additions and 1 deletions

View file

@ -16,4 +16,4 @@ ENDFOREACH(file)
FILE(GLOB SOURCES *.cpp)
ADD_EXECUTABLE(cma_sa ${SOURCES})
TARGET_LINK_LIBRARIES(cma_sa DO ${EO_LIBRARIES})
TARGET_LINK_LIBRARIES(cma_sa ${PROJECT_NAME} ${EO_LIBRARIES})

35
test/CMakeLists.txt Normal file
View file

@ -0,0 +1,35 @@
###############################################################################
##
## CMakeLists file for unit test
##
###############################################################################
######################################################################################
### 1) Include the sources
######################################################################################
######################################################################################
######################################################################################
### 2) Specify where CMake can find the libraries
######################################################################################
######################################################################################
######################################################################################
### 3) Define your targets and link the librairies
######################################################################################
SET(SOURCES
)
FOREACH(current ${SOURCES})
ADD_EXECUTABLE(${current} ${current}.cpp)
TARGET_LINK_LIBRARIES(${current} ${PROJECT_NAME} ${EO_LIBRARIES})
ADD_CURRENT(${current} ${current})
ENDFOREACH()
######################################################################################