CMakeLists.txt 918 Bytes
Newer Older
Mike Kremer's avatar
Mike Kremer committed
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
cmake_minimum_required (VERSION 2.6)

project (OpenVolumeMesh)

# add our macro directory to cmake search path
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)

# include our cmake files
include (ACGCommon)

acg_get_version ()

include (ACGOutput)

if (WIN32)
  add_definitions(
      -D_USE_MATH_DEFINES -DNOMINMAX
  )
endif ()

# ========================================================================
# Call the subdirectories with the projects
# ========================================================================

add_subdirectory (src)
Mike Kremer's avatar
Mike Kremer committed
26
add_subdirectory (examples)
27
add_subdirectory (documentation)
Mike Kremer's avatar
Mike Kremer committed
28
29
30
31
32
33
34

# ========================================================================
# Bundle generation (Targets exist, now configure them)
# ========================================================================

# display results
acg_print_configure_header (OPENVOLUMEMESH "OpenVolumeMesh")