diff --git a/.build_linux_amd64.txt b/.build_linux_amd64.txt new file mode 100644 index 0000000..2dcc752 --- /dev/null +++ b/.build_linux_amd64.txt @@ -0,0 +1,4 @@ +1 +success +7010511b29f8c1a3df74b22e840cc8cb19bf06b8 +Di 2. Jul 02:21:34 CEST 2019 diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a6982e..8ad737e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -176,6 +176,15 @@ if (NOT WIN32) endif () add_library(TeaSpeak STATIC ${SOURCE_FILES} ${HEADER_FILES}) +install(TARGETS TeaSpeak + ARCHIVE DESTINATION lib +) +INSTALL ( + DIRECTORY ${CMAKE_SOURCE_DIR}/src/ + DESTINATION include + FILES_MATCHING PATTERN "*.h*" +) + set(TEST_LIBRARIES sqlite3 ${LIBRARY_PATH_THREAD_POOL} #Static @@ -198,9 +207,7 @@ set(TEST_LIBRARIES ${LIBRARY_PATH_BORINGSSL_SSL} ${LIBRARY_PATH_BORINGSSL_CRYPTO} #Crypto must be linked after ) - include_directories(src/) - option(BUILD_TESTS "Enable/disable test building" ON) if(BUILD_TESTS) add_executable(RingTest test/RingTest.cpp ${SOURCE_FILES})