]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/CMakeLists.txt
Salome HOME
updated copyright message
[modules/shaper.git] / src / ExchangePlugin / CMakeLists.txt
index e8db9c5e967e04060ae977c5fa7a10611eacb3b1..4bd449e8ae0212899280436f135ec8bfdcc82f38 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2021  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    O 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)