]> git.sthu.org Git - libstick.git/commitdiff
Remove src/
authorStefan Huber <shuber@sthu.org>
Tue, 12 Nov 2013 16:02:12 +0000 (17:02 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 12 Nov 2013 16:03:18 +0000 (17:03 +0100)
CMakeLists.txt
src/CMakeLists.txt [deleted file]
src/config.h.cmake [deleted file]
src/main.cc [deleted file]

index 1242e400fa845a8433d107bf00736696f600935d..e6153031405e3cf7b57e2e334c62b27e54c42e7f 100644 (file)
@@ -25,7 +25,6 @@ option(WITH_UNITTESTS "Enable unit tests" "OFF")
 
 add_subdirectory(include)
 add_subdirectory(lib)
-add_subdirectory(src)
 
 if(WITH_UNITTESTS)
        add_subdirectory(tests)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
deleted file mode 100644 (file)
index 48fffed..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-set(stick_cli_SRC main.cc)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
-include_directories(${CMAKE_CURRENT_BINARY_DIR})
-
-include_directories(${libstick_SOURCE_DIR}/include)
-
-find_package(VTK REQUIRED)
-INCLUDE(${VTK_USE_FILE})
-
-add_executable(stick-cli ${stick_cli_SRC})
-target_link_libraries(stick-cli
-       stick
-       ${stick_cli_LIBS}
-       ${VTK_LIBRARIES} )
-
-install (TARGETS stick-cli DESTINATION bin)
diff --git a/src/config.h.cmake b/src/config.h.cmake
deleted file mode 100644 (file)
index 9a2ff10..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#define PACKAGE_STRING "@PACKAGE_STRING@"
-#define PACKAGE_VERSION "@PACKAGE_VERSION@"
-#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
-
diff --git a/src/main.cc b/src/main.cc
deleted file mode 100644 (file)
index ce34f6f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <libstick-0.1/test.h>
-
-int main(int argc, char* argv[]) {
-    (void) argc;
-    (void) argv;
-
-    test();
-    return EXIT_SUCCESS;
-}
-