First preperations for DLL Build on Windows

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@691 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-09-23 13:53:10 +00:00
parent 475115c3cf
commit dc1e08ebb1
3 changed files with 29 additions and 4 deletions

View File

@@ -28,6 +28,17 @@ if (WIN32)
)
endif ()
# ========================================================================
# Windows build style control
# ========================================================================
if ( WIN32 )
if ( NOT DEFINED OPENMESH_BUILD_SHARED )
set( OPENMESH_BUILD_SHARED false CACHE BOOL "Build as shared library? (!!!Experimental Feature!!!) " )
endif()
endif()
# ========================================================================
# Add bundle targets here
# ========================================================================