Changeset View
Changeset View
Standalone View
Standalone View
native/cpp/CommonCpp/NativeModules/CMakeLists.txt
project(comm-modules) | project(comm-modules) | ||||
cmake_minimum_required(VERSION 3.4) | cmake_minimum_required(VERSION 3.4) | ||||
# For C++17 on MacOS, we must set minimum target to 10.14+ | # For C++17 on MacOS, we must set minimum target to 10.14+ | ||||
set(CMAKE_CXX_STANDARD 17) | set(CMAKE_CXX_STANDARD 17) | ||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14) | set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14) | ||||
include(GNUInstallDirs) | include(GNUInstallDirs) | ||||
set(NATIVE_HDRS | set(NATIVE_HDRS | ||||
"CommCoreModule.h" | "CommCoreModule.h" | ||||
"CommUtilsModule.h" | "CommUtilsModule.h" | ||||
"CommConstants.h" | |||||
"MessageStoreOperations.h" | "MessageStoreOperations.h" | ||||
"ThreadStoreOperations.h" | "ThreadStoreOperations.h" | ||||
"ReportStoreOperations.h" | "ReportStoreOperations.h" | ||||
"DraftStoreOperations.h" | "DraftStoreOperations.h" | ||||
) | ) | ||||
set(NATIVE_SRCS | set(NATIVE_SRCS | ||||
"CommCoreModule.cpp" | "CommCoreModule.cpp" | ||||
"CommUtilsModule.cpp" | "CommUtilsModule.cpp" | ||||
"CommConstants.cpp" | |||||
) | ) | ||||
add_library(comm-modules-native | add_library(comm-modules-native | ||||
${NATIVE_HDRS} | ${NATIVE_HDRS} | ||||
${NATIVE_SRCS} | ${NATIVE_SRCS} | ||||
) | ) | ||||
set_target_properties(comm-modules-native PROPERTIES LINKER_LANGUAGE CXX) | set_target_properties(comm-modules-native PROPERTIES LINKER_LANGUAGE CXX) | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |