summaryrefslogtreecommitdiff
path: root/template/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'template/CMakeLists.txt')
-rw-r--r--template/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/template/CMakeLists.txt b/template/CMakeLists.txt
new file mode 100644
index 0000000..d6c41f2
--- /dev/null
+++ b/template/CMakeLists.txt
@@ -0,0 +1,7 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
+PROJECT(euler_problemPROBNUM C)
+INCLUDE_DIRECTORIES(../common)
+SET(SOURCES main.c ../common/utils.c)
+ADD_EXECUTABLE(pPROBNUM ${SOURCES})
+TARGET_LINK_LIBRARIES(pPROBNUM m)
+SET_SOURCE_FILES_PROPERTIES(${SOURCES} PROPERTIES COMPILE_FLAGS -g)