Salome HOME
bos #33720: implement static libraries for windows. These changes are aimed to resol...
[modules/yacs.git] / src / engine / Test / CMakeLists.txt
index a711cd0ebc2b5c55533b9f843446fc296a33e13c..b089edbe0b766a2b2b4eb1ebf3f7f65a8ccc63c4 100644 (file)
@@ -63,7 +63,11 @@ SET(IntegrationTestEngine_SOURCES
 )
 
 # --- rules ---
-
+if(WIN32)
+  add_library(PluginOptEvTest1_lib STATIC  ${PluginOptEvTest1_SOURCES})
+  TARGET_LINK_LIBRARIES(PluginOptEvTest1_lib ${_link_LIBRARIES})
+  set_target_properties(PluginOptEvTest1_lib PROPERTIES OUTPUT_NAME PluginOptEvTest1)
+endif(WIN32)
 ADD_LIBRARY(PluginOptEvTest1 ${PluginOptEvTest1_SOURCES})
 TARGET_LINK_LIBRARIES(PluginOptEvTest1 YACSlibEngine)
 INSTALL(TARGETS PluginOptEvTest1 EXPORT ${PROJECT_NAME}TargetGroup