Salome HOME
updated copyright message
[modules/yacs.git] / src / runtime / Test / CMakeLists.txt
index 1355bad46a7c43a6ecd521e8047886ee165840ab..0d79d41c535c4c92eeb24e5b803f65f2017e0250 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2012-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -27,6 +27,7 @@ INCLUDE_DIRECTORIES(
   ${PYTHON_INCLUDE_DIR}
   ${OMNIORB_INCLUDE_DIR}
   ${OMNIORBPY_INCLUDE_DIR}
+  ${LIBXML2_INCLUDE_DIR}
   ${KERNEL_INCLUDE_DIRS}
   ${CMAKE_CURRENT_SOURCE_DIR}/..
   ${CMAKE_CURRENT_SOURCE_DIR}/../../bases
@@ -103,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)