X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FTest%2FCMakeLists.txt;h=0d79d41c535c4c92eeb24e5b803f65f2017e0250;hb=255150e4eec79294bbd06c7c464f309b4a264960;hp=027fa3da1945aceb1b4be3abfc91f3ae15a6ab30;hpb=e63293c5cd91b99ed0d18d0f335a0d0cc4eba140;p=modules%2Fyacs.git diff --git a/src/runtime/Test/CMakeLists.txt b/src/runtime/Test/CMakeLists.txt index 027fa3da1..0d79d41c5 100644 --- a/src/runtime/Test/CMakeLists.txt +++ b/src/runtime/Test/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2016 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)