summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--CMakeLists.txt6
-rw-r--r--ffvisd/CMakeLists.txt8
-rw-r--r--ffvisd/ffvisd.c5
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;
+}