Commit 1f93ccac authored by bonnell's avatar bonnell

Don't build simV2dyn on Windows.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@19951 18c085ea-50e0-402c-830e-de6fd14e8384
parent 7c267384
......@@ -42,6 +42,9 @@
# Always build symV2dyn, so that it can be used in the swig/python
# directory.
#
# Kathleen Biagas, Mon Jan 7 18:04:23 PST 2012
# Don't build symV2dyn on Windows.
#
#****************************************************************************/
SET(LIBSIM_SOURCES
......@@ -79,20 +82,24 @@ ${CMAKE_CURRENT_SOURCE_DIR}
${VISIT_BINARY_DIR}/include
)
# Allinea Software:
# Create a libsimV2.so shared library for the standard VisIt
# interface (normally provided by statically linking with libsimV2.a).
# -fvisibility is set to default (it is normally hidden).
# Preferred solution would be to tag each function to be exposed in
# the shared library individually instead of exposing everything,
# but this will do for now. Also provide debug info.
ADD_DEFINITIONS(-g -fvisibility=default)
ADD_LIBRARY(simV2dyn SHARED ${LIBSIM_SOURCES})
IF(NOT WIN32)
# Allinea Software:
# Create a libsimV2.so shared library for the standard VisIt
# interface (normally provided by statically linking with libsimV2.a).
# -fvisibility is set to default (it is normally hidden).
# Preferred solution would be to tag each function to be exposed in
# the shared library individually instead of exposing everything,
# but this will do for now. Also provide debug info.
ADD_DEFINITIONS(-g -fvisibility=default)
ADD_LIBRARY(simV2dyn SHARED ${LIBSIM_SOURCES})
SET(LIBSIM_DYN simV2dyn)
ENDIF(NOT WIN32)
ADD_LIBRARY(simV2 STATIC ${LIBSIM_SOURCES})
ADD_LIBRARY(simV2f STATIC ${FORTRAN_LIBSIM_SOURCES})
INSTALL(TARGETS simV2 simV2f simV2dyn
INSTALL(TARGETS simV2 simV2f ${LIBSIM_DYN}
ARCHIVE DESTINATION ${VISIT_INSTALLED_VERSION}/libsim/V2/lib
LIBRARY DESTINATION ${VISIT_INSTALLED_VERSION}/libsim/V2/lib
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
......
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