list(APPEND core_HEADERS AbstractApp.h Dictionary.h Event.h Color.h CommandLineArgs.h loggers/FileLogger.h file_utilities/File.h file_utilities/FileFormats.h StringUtils.h http/HttpResponse.h) list(APPEND core_LIB_INCLUDES Event.cpp Dictionary.cpp Color.cpp CommandLineArgs.cpp data_structures/Tree.cpp loggers/FileLogger.cpp file_utilities/File.cpp file_utilities/FileFormats.cpp memory/SharedMemory.cpp RandomUtils.cpp StringUtils.cpp streams/BinaryStream.cpp http/HttpResponse.cpp http/HttpHeader.cpp http/HttpRequest.cpp) # add the executable add_library(core SHARED ${core_LIB_INCLUDES} ${core_HEADERS}) target_include_directories(core PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/file_utilities" "${CMAKE_CURRENT_SOURCE_DIR}/loggers" "${CMAKE_CURRENT_SOURCE_DIR}/memory" "${CMAKE_CURRENT_SOURCE_DIR}/streams" "${CMAKE_CURRENT_SOURCE_DIR}/data_structures" ) set_target_properties( core PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON ) set_property(TARGET core PROPERTY FOLDER src)