Commit e31614a4 authored by Jan Möbius's avatar Jan Möbius

Build OpenMesh Windows package

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@197 fdac6126-5c0c-442c-9429-916003d36597
parent 88af332d
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 ()
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")
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)
include(package)
acg_get_version ()
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")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment