From cebbe1cd7fe8be10d51a1d8fc4007407b1ba77c7 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 22 Jan 2011 16:25:08 +0000 Subject: Première version du projet qui compile ! (utilise CMake) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2011-usi/trunk@10 db941bf7-0cb3-4dda-9634-87faf64f93a7 --- app/v3_c/src/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/v3_c/src/CMakeLists.txt (limited to 'app/v3_c/src/CMakeLists.txt') diff --git a/app/v3_c/src/CMakeLists.txt b/app/v3_c/src/CMakeLists.txt new file mode 100644 index 0000000..2947cb3 --- /dev/null +++ b/app/v3_c/src/CMakeLists.txt @@ -0,0 +1,12 @@ +set(SRC_COMMON utils.c) + +# configure a header file to pass some of the CMake settings +# to the source code +configure_file ( + "myhttpd.h.in" + "${PROJECT_BINARY_DIR}/myhttpd.h" +) + +add_executable(myhttpd myhttpd.c ${SRC_COMMON} ) +#target_link_libraries(netlem SDL SDL_net SDL_image) + -- cgit v1.2.3