CMakeLists.txt 604 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
cmake_minimum_required (VERSION 2.6)

project (OpenMesh)

# 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 ()

Jan Möbius's avatar
Jan Möbius committed
13 14
include(OpenMeshPackage)

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
include (ACGOutput)

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

add_subdirectory (src/OpenMesh/Core)
add_subdirectory (src/OpenMesh/Tools)
add_subdirectory (src/OpenMesh/Apps)
add_subdirectory (Doc)

# display results
acg_print_configure_header (OPENMESH "OpenMesh")