X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FTest%2FCMakeLists.txt;h=0d79d41c535c4c92eeb24e5b803f65f2017e0250;hb=255150e4eec79294bbd06c7c464f309b4a264960;hp=506be0e11cd922d00d78541834831886291e914b;hpb=f31c1aa1cf3481bf51166f0c4e3dd118bc3ab43b;p=modules%2Fyacs.git diff --git a/src/runtime/Test/CMakeLists.txt b/src/runtime/Test/CMakeLists.txt index 506be0e11..0d79d41c5 100644 --- a/src/runtime/Test/CMakeLists.txt +++ b/src/runtime/Test/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2015 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 @@ -26,6 +26,8 @@ INCLUDE_DIRECTORIES( ${CPPUNIT_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} + ${OMNIORBPY_INCLUDE_DIR} + ${LIBXML2_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/../../bases @@ -102,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) @@ -127,4 +135,4 @@ INSTALL(TARGETS runtimeTestEchoSrv DESTINATION ${LOCAL_TEST_DIR}) INSTALL(TARGETS echo_clt DESTINATION ${LOCAL_TEST_DIR}) INSTALL(FILES CTestTestfileInstall.cmake DESTINATION ${LOCAL_TEST_DIR} - RENAME CTestTestfile.cmake) \ No newline at end of file + RENAME CTestTestfile.cmake)