bpcpp/CMakeLists.txt

25 lines
447 B
CMake
Raw Normal View History

2022-12-26 23:44:03 +00:00
cmake_minimum_required(VERSION 3.0.0)
project(buttplug-cpp VERSION 0.1.0)
include(CTest)
enable_testing()
file(GLOB SRCS src/*.cpp)
add_library(buttplug-cpp ${SRCS})
target_include_directories(buttplug-cpp
PUBLIC inc
)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
project(test-app)
2022-12-29 12:49:18 +00:00
add_executable(test-app EXCLUDE_FROM_ALL test.cpp)
2022-12-26 23:44:03 +00:00
target_link_libraries(test-app buttplug-cpp)