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

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) cmake_minimum_required (VERSION 2.6)
project (OpenMesh) project (OpenMesh)
# add our macro directory to cmake search path # add our macro directory to cmake search path
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
# include our cmake files # include our cmake files
include (ACGCommon) include (ACGCommon)
acg_get_version () include(package)
include (ACGOutput) acg_get_version ()
if (WIN32) include (ACGOutput)
add_definitions(
-D_USE_MATH_DEFINES -DNOMINMAX if (WIN32)
) add_definitions(
endif () -D_USE_MATH_DEFINES -DNOMINMAX
)
add_subdirectory (src/OpenMesh/Core) endif ()
add_subdirectory (src/OpenMesh/Tools)
add_subdirectory (src/OpenMesh/Apps) add_subdirectory (src/OpenMesh/Core)
add_subdirectory (Doc) add_subdirectory (src/OpenMesh/Tools)
add_subdirectory (src/OpenMesh/Apps)
# display results add_subdirectory (Doc)
acg_print_configure_header (OPENMESH "OpenMesh")
# display results
acg_print_configure_header (OPENMESH "OpenMesh")
Supports Markdown
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