|
a |
|
b/CMakeLists.txt |
|
|
1 |
# This is the root ITK CMakeLists file. |
|
|
2 |
cmake_minimum_required(VERSION 2.8.9) |
|
|
3 |
if(COMMAND CMAKE_POLICY) |
|
|
4 |
cmake_policy(SET CMP0003 NEW) |
|
|
5 |
endif() |
|
|
6 |
|
|
|
7 |
|
|
|
8 |
# This project is designed to be built outside the Insight source tree. |
|
|
9 |
project(HelloWorld) |
|
|
10 |
|
|
|
11 |
# Find ITK. |
|
|
12 |
find_package(ITK REQUIRED) |
|
|
13 |
include(${ITK_USE_FILE}) |
|
|
14 |
|
|
|
15 |
add_executable(vector_region_growing vector_region_growing.cxx) |
|
|
16 |
target_link_libraries(vector_region_growing ${ITK_LIBRARIES}) |
|
|
17 |
|
|
|
18 |
add_executable(region_growing region_growing.cxx) |
|
|
19 |
target_link_libraries(region_growing ${ITK_LIBRARIES}) |