]> Creatis software - cpPlugins.git/blob - tools/CMakeLists.txt
yet another refactoring
[cpPlugins.git] / tools / CMakeLists.txt
1
2 ## ===================
3 ## == List of tools ==
4 ## ===================
5
6 SET(_pfx cpPlugins_tool_)
7 SET(
8   _tools
9   ExecutePipeline
10   PrintFileInfo
11   PrintDirInfo
12   PrintGuessInfo
13   RenameImageFile
14   )
15
16 ## =======================
17 ## == Compilation rules ==
18 ## =======================
19
20 INCLUDE_DIRECTORIES(
21   ${PROJECT_SOURCE_DIR}/lib
22   ${PROJECT_BINARY_DIR}/lib
23   )
24 FOREACH(_t ${_tools})
25   ADD_EXECUTABLE(${_pfx}${_t} ${_t}.cxx)
26   TARGET_LINK_LIBRARIES(${_pfx}${_t} cpPlugins)
27 ENDFOREACH(_t)
28
29 ## eof - $RCSfile$