X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fengine%2FTest%2FCMakeLists.txt;h=d1633efb996fd97b121e3bccf586a8f258e2c9da;hb=255150e4eec79294bbd06c7c464f309b4a264960;hp=9579f443de7fcbe0af6b9df5d5bd044265dcde7e;hpb=cad20d9b51f1a2f09e37db59e183e1462ea120f9;p=modules%2Fyacs.git diff --git a/src/engine/Test/CMakeLists.txt b/src/engine/Test/CMakeLists.txt index 9579f443d..d1633efb9 100644 --- a/src/engine/Test/CMakeLists.txt +++ b/src/engine/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 @@ -33,6 +33,7 @@ SET(_link_LIBRARIES ${PTHREAD_LIBRARIES} YACSlibEngine YACSBases + SALOMEBasics ) # additional preprocessor / compiler flags @@ -62,7 +63,11 @@ SET(IntegrationTestEngine_SOURCES ) # --- rules --- - +if(WIN32) + add_library(PluginOptEvTest1_lib STATIC ${PluginOptEvTest1_SOURCES}) + TARGET_LINK_LIBRARIES(PluginOptEvTest1_lib ${_link_LIBRARIES}) + set_target_properties(PluginOptEvTest1_lib PROPERTIES OUTPUT_NAME PluginOptEvTest1) +endif(WIN32) ADD_LIBRARY(PluginOptEvTest1 ${PluginOptEvTest1_SOURCES}) TARGET_LINK_LIBRARIES(PluginOptEvTest1 YACSlibEngine) INSTALL(TARGETS PluginOptEvTest1 EXPORT ${PROJECT_NAME}TargetGroup @@ -84,4 +89,4 @@ INSTALL(TARGETS TestEngine DESTINATION ${LOCAL_TEST_DIR}) INSTALL(TARGETS IntegrationTestEngine DESTINATION ${LOCAL_TEST_DIR}) INSTALL(FILES CTestTestfileInstall.cmake DESTINATION ${LOCAL_TEST_DIR} - RENAME CTestTestfile.cmake) \ No newline at end of file + RENAME CTestTestfile.cmake)