Squashed 'libs/cppzmq/' content from commit c66fc609
git-subtree-dir: libs/cppzmq git-subtree-split: c66fc6094b2a03439dea8469719e221e80e2e8e7
This commit is contained in:
23
demo/CMakeLists.txt
Normal file
23
demo/CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
|
||||
|
||||
project(cppzmq-demo CXX)
|
||||
|
||||
find_package(cppzmq)
|
||||
|
||||
enable_testing()
|
||||
add_executable(
|
||||
demo
|
||||
main.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
demo
|
||||
cppzmq
|
||||
)
|
||||
|
||||
add_test(
|
||||
NAME
|
||||
demo
|
||||
COMMAND
|
||||
${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}/demo
|
||||
)
|
||||
Reference in New Issue
Block a user