aboutsummaryrefslogtreecommitdiff
path: root/libsupport/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libsupport/CMakeLists.txt')
-rw-r--r--libsupport/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/libsupport/CMakeLists.txt b/libsupport/CMakeLists.txt
new file mode 100644
index 0000000..0784f3b
--- /dev/null
+++ b/libsupport/CMakeLists.txt
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+add_rcc_library(RCCSupport
+ STATIC
+ src/corelib/math/MathExtras.cc
+ src/corelib/memory/MemAlloc.cpp
+ src/corelib/system/Errno.cc
+)
+
+target_include_directories(RCCSupport
+ PUBLIC
+ "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
+ "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
+
+install(DIRECTORY include/CoreLib DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")