ACGCommon_update_and_use_SHAREDANDSTATIC_target_and_dont_install_headers_in_bundle

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@166 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2009-06-22 07:07:19 +00:00
parent 75a9d65dd5
commit 8bf2f88448
3 changed files with 58 additions and 8 deletions

View File

@@ -28,12 +28,13 @@ if (WIN32)
# OpenMesh has no dll exports so we have to build a static library on windows
acg_add_library (OpenMeshCore STATIC ${sources} ${headers})
else ()
acg_add_library (OpenMeshCore SHARED ${sources} ${headers})
acg_add_library (OpenMeshCores STATIC ${sources} ${headers})
acg_add_library (OpenMeshCore SHAREDANDSTATIC ${sources} ${headers})
endif ()
# Install Header Files
if (NOT ACG_PROJECT_MACOS_BUNDLE OR NOT APPLE)
install(DIRECTORY .
DESTINATION include/OpenMesh/Core
FILES_MATCHING
@@ -71,5 +72,6 @@ install(DIRECTORY IO/
PATTERN "exporter" EXCLUDE
PATTERN "tmp" EXCLUDE
PATTERN "Debian*" EXCLUDE )
endif ()