+ test
This commit is contained in:
parent
27552a573e
commit
45a9cb88e0
2 changed files with 36 additions and 1 deletions
|
|
@ -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
35
test/CMakeLists.txt
Normal 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()
|
||||
|
||||
######################################################################################
|
||||
Loading…
Add table
Add a link
Reference in a new issue