commit b1023b2fb389f6760c0658274c9d13ed37f87927 Author: Matthias Schiffer Date: Thu Aug 23 17:43:26 2012 +0200 Set up build system 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; +}