summaryrefslogtreecommitdiff
path: root/libmisc/CMakeLists.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-17 14:31:03 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-17 14:31:03 -0600
commitf132dab76a07473d41e14f5f4fb1857a3229ec6a (patch)
tree621a8f1ae6cb15d360cd47c0bccd08a1c2226f4e /libmisc/CMakeLists.txt
parenta1fb6a6103cc7d38d54270bcdb9779982d329c9e (diff)
libmisc
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>")