From 9c6496a8479de44f5f69f8fbba67583f6f375233 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Tue, 12 Nov 2013 17:02:12 +0100 Subject: [PATCH] Remove src/ --- CMakeLists.txt | 1 - src/CMakeLists.txt | 17 ----------------- src/config.h.cmake | 4 ---- src/main.cc | 13 ------------- 4 files changed, 35 deletions(-) delete mode 100644 src/CMakeLists.txt delete mode 100644 src/config.h.cmake delete mode 100644 src/main.cc diff --git a/CMakeLists.txt b/CMakeLists.txt index 1242e40..e615303 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 index 48fffed..0000000 --- a/src/CMakeLists.txt +++ /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 index 9a2ff10..0000000 --- a/src/config.h.cmake +++ /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 index ce34f6f..0000000 --- a/src/main.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include - -#include - -int main(int argc, char* argv[]) { - (void) argc; - (void) argv; - - test(); - return EXIT_SUCCESS; -} - -- 2.39.5