]> git.sthu.org Git - libstick.git/commitdiff
Do not create dummy shared lib
authorStefan Huber <shuber@sthu.org>
Tue, 12 Nov 2013 23:20:49 +0000 (00:20 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 12 Nov 2013 23:20:49 +0000 (00:20 +0100)
include/libstick-0.1/test.h [deleted file]
lib/CMakeLists.txt
lib/test.cc [deleted file]
tests/CMakeLists.txt

diff --git a/include/libstick-0.1/test.h b/include/libstick-0.1/test.h
deleted file mode 100644 (file)
index e610c5a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef test_h_yiQuuiphuilutieX
-#define test_h_yiQuuiphuilutieX
-
-extern "C" void test();
-
-#endif
index 2d03559f024a50911b77dc70861ef7f8fd86dbd2..5bd4f805bb35b75080643974952e12934881d1ba 100644 (file)
@@ -1,10 +1,9 @@
-set(stick_SRC test.cc)
+#set(stick_SRC test.cc)
 
-include_directories(${libstick_SOURCE_DIR}/include)
+#include_directories(${libstick_SOURCE_DIR}/include)
 
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libstick.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libstick.pc @ONLY)
-
-add_library(stick SHARED ${stick_SRC})
+#add_library(stick SHARED ${stick_SRC})
+#install(TARGETS stick DESTINATION lib)
 
-install(TARGETS stick DESTINATION lib)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libstick.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libstick.pc @ONLY)
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libstick.pc DESTINATION lib/pkgconfig COMPONENT "pkgconfig")
diff --git a/lib/test.cc b/lib/test.cc
deleted file mode 100644 (file)
index 75a9499..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <stdio.h>
-
-#include "libstick-0.1/test.h"
-
-
-void test() {
-    printf("Hello world.\n");
-}
index 2ef2b6504208874957d0ceb7d26199eb0916c94f..15fe76061f374ed57bf2d1b7531febd55d3b655e 100644 (file)
@@ -9,5 +9,5 @@ include_directories(${libstick_SOURCE_DIR}/include)
 
 add_executable(tests ${tests_SRC})
 target_link_libraries(tests
-       stick
+    #stick
        ${libcpptest_LIBRARIES})