Mercurial > hg > orthanc
annotate OrthancCppClient/Package/Test/Vtk/CMakeLists.txt @ 512:1b8a1c43893e laaw
compilation of the dll 32/64
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Jul 2013 12:36:02 +0200 |
parents | d87febb5f183 |
children |
rev | line source |
---|---|
506 | 1 cmake_minimum_required(VERSION 2.8) |
2 | |
3 project(OrthancCppClientTest) | |
4 | |
512
1b8a1c43893e
compilation of the dll 32/64
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
510
diff
changeset
|
5 set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}/../../../..) |
1b8a1c43893e
compilation of the dll 32/64
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
510
diff
changeset
|
6 include(../../OrthancCppClient.cmake) |
1b8a1c43893e
compilation of the dll 32/64
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
510
diff
changeset
|
7 |
506 | 8 find_package(VTK REQUIRED) |
9 include(${VTK_USE_FILE}) | |
10 | |
11 add_executable(Test | |
12 main.cpp | |
13 ) | |
14 | |
15 if(VTK_LIBRARIES) | |
16 target_link_libraries(Test ${VTK_LIBRARIES}) | |
17 else() | |
18 target_link_libraries(Test vtkHybrid vtkVolumeRendering) | |
19 endif() |