aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/apps/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/apps/CMakeLists.txt')
-rw-r--r--src/displayapp/apps/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/displayapp/apps/CMakeLists.txt b/src/displayapp/apps/CMakeLists.txt
new file mode 100644
index 00000000..808496e5
--- /dev/null
+++ b/src/displayapp/apps/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_library(infinitime_apps INTERFACE)
+target_sources(infinitime_apps INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/Apps.h")
+target_include_directories(infinitime_apps INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/")
+
+# Generate the list of user apps to be compiled into the firmware
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Apps.h.in ${CMAKE_CURRENT_BINARY_DIR}/Apps.h) \ No newline at end of file