INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events)
SET(PROJECT_HEADERS
- Config.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
)
SET(PROJECT_SOURCES
Config_WidgetReader.cpp
Config_PointerMessage.cpp
Config_Common.cpp
+ Config_ValidatorMessage.cpp
+ Config_Prop.cpp
+ Config_PropManager.cpp
)
SET(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})