Salome HOME
bos #33720: implement static libraries for windows. These changes are aimed to resol...
[modules/yacs.git] / src / runtime / Test / CMakeLists.txt
index d3549a5c77124c4b12807e469c33e7d287ba890d..2775341eb7554c9eed46b98eceabcf49a4d88b9d 100644 (file)
@@ -104,6 +104,12 @@ TARGET_LINK_LIBRARIES(runtimeTestEchoSrv runtime_echo ${OMNIORB_LIBRARIES})
 ADD_EXECUTABLE(echo_clt ${echo_clt_SOURCES})
 TARGET_LINK_LIBRARIES(echo_clt runtime_echo ${OMNIORB_LIBRARIES})
 
+if(WIN32)
+  add_library(TestComponentLocal_lib STATIC  ${TestComponentLocal_SOURCES})
+  TARGET_LINK_LIBRARIES(TestComponentLocal_lib ${_link_LIBRARIES})
+  set_target_properties(TestComponentLocal_lib PROPERTIES OUTPUT_NAME TestComponentLocal)
+endif(WIN32)
+
 ADD_LIBRARY(TestComponentLocal ${TestComponentLocal_SOURCES})
 TARGET_LINK_LIBRARIES(TestComponentLocal YACSlibEngine)