Build shared and static Version for Unix/Linux

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@160 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2009-06-16 05:57:35 +00:00
parent 66dc678600
commit ab5404589a
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,8 @@ if (WIN32)
# OpenMesh has no dll exports so we have to build a static library on windows # OpenMesh has no dll exports so we have to build a static library on windows
acg_add_library (OpenMeshCore STATIC ${sources} ${headers}) acg_add_library (OpenMeshCore STATIC ${sources} ${headers})
else () else ()
acg_add_library (OpenMeshCore SHARED ${sources} ${headers}) acg_add_library (OpenMeshCore SHARED ${sources} ${headers})
acg_add_library (OpenMeshCores STATIC ${sources} ${headers})
endif () endif ()

View File

@@ -28,7 +28,8 @@ if (WIN32)
# OpenMesh has no dll exports so we have to build a static library on windows # OpenMesh has no dll exports so we have to build a static library on windows
acg_add_library (OpenMeshTools STATIC ${sources} ${headers}) acg_add_library (OpenMeshTools STATIC ${sources} ${headers})
else () else ()
acg_add_library (OpenMeshTools SHARED ${sources} ${headers}) acg_add_library (OpenMeshTools SHARED ${sources} ${headers})
acg_add_library (OpenMeshToolss STATIC ${sources} ${headers})
endif () endif ()
target_link_libraries (OpenMeshTools OpenMeshCore) target_link_libraries (OpenMeshTools OpenMeshCore)