diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-08-23 17:43:26 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-08-23 17:43:26 +0200 |
commit | b1023b2fb389f6760c0658274c9d13ed37f87927 (patch) | |
tree | 5f3113b6b31052448126c8da98747607669ebd0e | |
download | ffd-b1023b2fb389f6760c0658274c9d13ed37f87927.tar ffd-b1023b2fb389f6760c0658274c9d13ed37f87927.zip |
Set up build system
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | ffvisd/CMakeLists.txt | 8 | ||||
-rw-r--r-- | ffvisd/ffvisd.c | 5 |
4 files changed, 22 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f1b7ee --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*~ +build +profile diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..38e5e96 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 2.8.3) +project(FFD C) + +set(CMAKE_MODULE_PATH ${FFD_SOURCE_DIR}) + +add_subdirectory(ffvisd) diff --git a/ffvisd/CMakeLists.txt b/ffvisd/CMakeLists.txt new file mode 100644 index 0000000..c0f1bec --- /dev/null +++ b/ffvisd/CMakeLists.txt @@ -0,0 +1,8 @@ +include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${FFD_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}) + +add_executable(ffvisd + ffvisd.c +) +target_link_libraries(ffvisd rt) + +install(TARGETS ffvisd RUNTIME DESTINATION sbin) diff --git a/ffvisd/ffvisd.c b/ffvisd/ffvisd.c new file mode 100644 index 0000000..dc79d60 --- /dev/null +++ b/ffvisd/ffvisd.c @@ -0,0 +1,5 @@ +#include <stdio.h> + +int main() { + return 0; +} |