Refactor
This commit is contained in:
16
experiments/pip/CMakeLists.txt
Normal file
16
experiments/pip/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_policy(SET CMP0020 NEW)
|
||||
|
||||
find_package(PIP REQUIRED)
|
||||
|
||||
add_executable(mutex mutex.cpp)
|
||||
target_include_directories(mutex PUBLIC ${PIP_INCLUDES})
|
||||
target_link_libraries(mutex ${PIP_LIBRARY} ${PIP_CONCURRENT_LIBRARY})
|
||||
|
||||
add_executable(mutex_multithread mutex_multithread.cpp)
|
||||
target_include_directories(mutex_multithread PUBLIC ${PIP_INCLUDES})
|
||||
target_link_libraries(mutex_multithread ${PIP_LIBRARY} ${PIP_CONCURRENT_LIBRARY})
|
||||
|
||||
add_executable(vectors vectors.cpp)
|
||||
target_include_directories(vectors PUBLIC ${PIP_INCLUDES})
|
||||
target_link_libraries(vectors ${PIP_LIBRARY})
|
||||
Reference in New Issue
Block a user