CMakeLists.txt 711 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
include (ACGCommon)
include (CoMISoExample)

# source code directories
set (directories 
  . 
)

# collect all header and source files
acg_append_files (headers "*.hh" ${directories})
acg_append_files (sources "*.cc" ${directories})

# remove template cc files from source file list
acg_drop_templates (sources)

if (WIN32)
  acg_add_executable (small_quadratic_resolve WIN32 ${sources} ${headers} )
else ()
  acg_add_executable (small_quadratic_resolve ${sources} ${headers} )
endif ()

# enable rpath linking
set_target_properties(small_quadratic_resolve PROPERTIES INSTALL_RPATH_USE_LINK_PATH 1)

target_link_libraries (small_quadratic_resolve
  CoMISo
  ${COMISO_LINK_LIBRARIES}
David Bommes's avatar
David Bommes committed
28
)