X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FCMakeLists.txt;h=e43622f807b4300af9adf293dacffccb71fc0ec9;hb=592b8a38b3c9e2a6a7d3d1d180b1f9b5406c4415;hp=01be1d384d999eaf864dc321660be67057c8181c;hpb=c38397a5dd4d35001147a9dfbf649771c6f22229;p=modules%2Fshaper.git diff --git a/src/Config/CMakeLists.txt b/src/Config/CMakeLists.txt index 01be1d384..e43622f80 100644 --- a/src/Config/CMakeLists.txt +++ b/src/Config/CMakeLists.txt @@ -1,38 +1,65 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11) +## Copyright (C) 2014-20xx CEA/DEN, EDF R&D INCLUDE(Common) INCLUDE(XMLProcessing) -INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Event) +INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events + ${PYTHON_INCLUDE_DIR}) SET(PROJECT_HEADERS - Config.h - Config_Message.h + Config_def.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_ValidatorMessage.h + Config_Prop.h + Config_PropManager.h + Config_AttributeMessage.h + Config_SelectionFilterMessage.h + Config_ValidatorReader.h + Config_DataModelReader.h ) - + SET(PROJECT_SOURCES - Config_Message.cpp + Config_FeatureMessage.cpp Config_XMLReader.cpp Config_ModuleReader.cpp Config_FeatureReader.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 + Config_ValidatorReader.cpp + Config_DataModelReader.cpp ) SET(XML_RESOURCES - plugin-PartSet.xml plugins.xml + dataModel.xml ) SET(PROJECT_LIBRARIES - Event + Events ${LIBXML2_LIBRARIES} + ${PYTHON_LIBRARIES} ) 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})