From b1023b2fb389f6760c0658274c9d13ed37f87927 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 23 Aug 2012 17:43:26 +0200 Subject: Set up build system --- .gitignore | 3 +++ CMakeLists.txt | 6 ++++++ ffvisd/CMakeLists.txt | 8 ++++++++ ffvisd/ffvisd.c | 5 +++++ 4 files changed, 22 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 ffvisd/CMakeLists.txt create mode 100644 ffvisd/ffvisd.c 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 + +int main() { + return 0; +} -- cgit v1.2.3