summaryrefslogtreecommitdiff
path: root/app/wlib/include/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/include/CMakeLists.txt')
-rw-r--r--app/wlib/include/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/wlib/include/CMakeLists.txt b/app/wlib/include/CMakeLists.txt
new file mode 100644
index 0000000..5891b02
--- /dev/null
+++ b/app/wlib/include/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+target_include_directories(xtrkcad-wlib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+
+target_sources(xtrkcad-wlib
+ PUBLIC
+ wlib.h)
+
+if(WIN32)
+ target_sources(xtrkcad-wlib
+ PRIVATE
+ getopt.h)
+endif() \ No newline at end of file