diff options
Diffstat (limited to 'template')
| -rw-r--r-- | template/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | template/main.c | 8 |
2 files changed, 15 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) diff --git a/template/main.c b/template/main.c new file mode 100644 index 0000000..5eaaf33 --- /dev/null +++ b/template/main.c @@ -0,0 +1,8 @@ +#include <stdlib.h> +#include <stdio.h> + +int main(int argc, char **argv) +{ + return 0; +} + |
