Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git]
/
src
/
Config
/
CMakeLists.txt
diff --git
a/src/Config/CMakeLists.txt
b/src/Config/CMakeLists.txt
index 660990d30090fc1048badca036b8c31b609717bc..c5ee88f7817fc6702c22500e4096b4b5c1a0e977 100644
(file)
--- a/
src/Config/CMakeLists.txt
+++ b/
src/Config/CMakeLists.txt
@@
-1,18
+1,27
@@
+## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
INCLUDE(Common)
INCLUDE(XMLProcessing)
INCLUDE(Common)
INCLUDE(XMLProcessing)
-INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Event)
+INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events
+ ${PYTHON_INCLUDE_DIRS})
SET(PROJECT_HEADERS
SET(PROJECT_HEADERS
- Config.h
+ Config
_def
.h
Config_FeatureMessage.h
Config_XMLReader.h
Config_ModuleReader.h
Config_FeatureReader.h
Config_FeatureMessage.h
Config_XMLReader.h
Config_ModuleReader.h
Config_FeatureReader.h
+ Config_Keywords.h
Config_WidgetAPI.h
Config_WidgetReader.h
Config_PointerMessage.h
Config_Common.h
Config_WidgetAPI.h
Config_WidgetReader.h
Config_PointerMessage.h
Config_Common.h
+ Config_ValidatorMessage.h
+ Config_Prop.h
+ Config_PropManager.h
+ Config_AttributeMessage.h
+ Config_SelectionFilterMessage.h
)
SET(PROJECT_SOURCES
)
SET(PROJECT_SOURCES
@@
-23,21
+32,29
@@
SET(PROJECT_SOURCES
Config_WidgetAPI.cpp
Config_WidgetReader.cpp
Config_PointerMessage.cpp
Config_WidgetAPI.cpp
Config_WidgetReader.cpp
Config_PointerMessage.cpp
+ Config_Common.cpp
+ Config_ValidatorMessage.cpp
+ Config_Prop.cpp
+ Config_PropManager.cpp
+ Config_AttributeMessage.cpp
+ Config_SelectionFilterMessage.cpp
)
SET(XML_RESOURCES
)
SET(XML_RESOURCES
- plugin-PartSet.xml
plugins.xml
)
SET(PROJECT_LIBRARIES
plugins.xml
)
SET(PROJECT_LIBRARIES
- Event
+ Event
s
${LIBXML2_LIBRARIES}
${LIBXML2_LIBRARIES}
+ ${PYTHON_LIBRARIES}
)
SOURCE_GROUP ("Resource Files" FILES ${XML_RESOURCES})
)
SOURCE_GROUP ("Resource Files" FILES ${XML_RESOURCES})
-ADD_DEFINITIONS(-DCONFIG_EXPORTS)
+ADD_DEFINITIONS(-DCONFIG_EXPORTS -D_SCL_SECURE_NO_WARNINGS)
+# -D_SCL_SECURE_NO_WARNINGS - to disable warnings 4996
+
ADD_LIBRARY(Config SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
TARGET_LINK_LIBRARIES(Config ${PROJECT_LIBRARIES})
ADD_LIBRARY(Config SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
TARGET_LINK_LIBRARIES(Config ${PROJECT_LIBRARIES})