summaryrefslogtreecommitdiff
path: root/libmisc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libmisc/CMakeLists.txt')
-rw-r--r--libmisc/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmisc/CMakeLists.txt b/libmisc/CMakeLists.txt
new file mode 100644
index 0000000..f42f36f
--- /dev/null
+++ b/libmisc/CMakeLists.txt
@@ -0,0 +1,8 @@
+# libmisc/CMakeLists.txt - A simple Go-ish object system built on GCC -fplan9-extensions
+#
+# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+# SPDX-Licence-Identifier: AGPL-3.0-or-later
+
+add_library(libmisc INTERFACE)
+target_include_directories(libmisc SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
+target_compile_options(libmisc INTERFACE "$<$<COMPILE_LANGUAGE:C>:-fplan9-extensions>")