summaryrefslogtreecommitdiff
path: root/{{cookiecutter.project_name}}/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '{{cookiecutter.project_name}}/src/CMakeLists.txt')
-rw-r--r--{{cookiecutter.project_name}}/src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/{{cookiecutter.project_name}}/src/CMakeLists.txt b/{{cookiecutter.project_name}}/src/CMakeLists.txt
new file mode 100644
index 0000000..1bd16df
--- /dev/null
+++ b/{{cookiecutter.project_name}}/src/CMakeLists.txt
@@ -0,0 +1,5 @@
+ADD_SUBDIRECTORY(external)
+
+ADD_EXECUTABLE({{cookiecutter.project_name}} main.cpp)
+TARGET_LINK_LIBRARIES({{cookiecutter.project_name}} PUBLIC raylib imgui)
+TARGET_INCLUDE_DIRECTORIES({{cookiecutter.project_name}} PUBLIC external)