X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FTest%2FCMakeLists.txt;h=0d79d41c535c4c92eeb24e5b803f65f2017e0250;hb=255150e4eec79294bbd06c7c464f309b4a264960;hp=c498db26ce43bd8ea11285f9085a94ccbd74f063;hpb=e3255204c864201f5bc1aa040d4273ed2f44e8cd;p=modules%2Fyacs.git diff --git a/src/runtime/Test/CMakeLists.txt b/src/runtime/Test/CMakeLists.txt index c498db26c..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 @@ -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)