X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FCMakeLists.txt;h=4bd449e8ae0212899280436f135ec8bfdcc82f38;hb=0ee639ebd71134c52665e297293ec04266e42b5b;hp=3df98beceac4beaa7da4148038a009671167d085;hpb=bb33252ddc3c0792f81b7f9139a8395f4ffcc1c4;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/CMakeLists.txt b/src/ExchangePlugin/CMakeLists.txt old mode 100644 new mode 100755 index 3df98bece..4bd449e8a --- a/src/ExchangePlugin/CMakeLists.txt +++ b/src/ExchangePlugin/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2020 CEA/DEN, EDF R&D +# Copyright (C) 2014-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 @@ -19,6 +19,7 @@ INCLUDE(Common) INCLUDE(UnitTest) +INCLUDE(UseQtExt) INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/Events ${PROJECT_SOURCE_DIR}/src/Config @@ -31,9 +32,12 @@ INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/Events ${PROJECT_SOURCE_DIR}/src/XAO ${PROJECT_SOURCE_DIR}/src/ConstructionPlugin ${PROJECT_SOURCE_DIR}/src/PartSetPlugin - ${OpenCASCADE_INCLUDE_DIR} + ${QT_INCLUDES} ) +# additional preprocessor / compiler flags +ADD_DEFINITIONS(${QT_DEFINITIONS}) + SET(PROJECT_HEADERS ExchangePlugin.h ExchangePlugin_Plugin.h @@ -82,11 +86,12 @@ SET(PROJECT_LIBRARIES GeomAlgoAPI GeomValidators XAOShaper + ${QT_LIBRARIES} ) # default dump approaches (will be set if not initialized) SET(PYTHONDUMP_NAMING ON CACHE BOOL "Dump named references to shapes") -SET(PYTHONDUMP_GEO ON CACHE BOOL "Dump references to shapes by the geometric properties") +SET(PYTHONDUMP_GEO OFF CACHE BOOL "Dump references to shapes by the geometric properties") SET(PYTHONDUMP_WEAK OFF CACHE BOOL "Dump weak named references to shapes") ADD_DEFINITIONS(-DEXCHANGEPLUGIN_EXPORTS) @@ -108,43 +113,4 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Exchange) INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) -ADD_UNIT_TESTS( - TestImport.py - TestExport.py - Test2290.py - Test2459.py - Test18710.py - TestExportToXAOWithFields.py - TestExportToXAOWithGroupNotUpdated.py - TestExport_FiniteValidator.py - TestExportPart_Failure_1.py - TestExportPart_Failure_2.py - TestExportPart_Failure_3.py - TestExportPart_FullPartSet.py - TestExportPart_FullPart_1.py - TestExportPart_FullPart_2.py - TestExportPart_PartSet.py - TestExportPart_Results_1.py - TestExportPart_Results_2.py - TestExportPart_Results_3.py - TestExportPart_Results_4.py - TestExportPart_Results_5.py - TestExportPart_Results_6.py - TestExportPart_Results_7.py - TestExportPart_Results_8.py - TestImportPart_AfterCurrent_1.py - TestImportPart_AfterCurrent_2.py - TestImportPart_AfterLast_1.py - TestImportPart_AfterLast_2.py - TestImportPart_AfterLast_3.py - TestImportPart_AfterLast_4.py - TestImportPart_AfterLast_5.py - TestImportPart_AfterLast_6.py - TestImportPart_Construction_1.py - TestImportPart_Construction_2.py - TestImportPart_Construction_3.py - TestImportPart_Construction_4.py - TestImportPart_Multiple.py - TestImportPart_ToEmptyPart.py - TestImportPart_ToEmptyPartSet.py -) +ADD_SUBDIRECTORY(Test)