cmake: cleanup
This commit is contained in:
parent
8a3fc0ed1d
commit
e86303f7eb
1 changed files with 1 additions and 12 deletions
|
@ -1,22 +1,11 @@
|
|||
set(MVLC_NNG_MNODE_WARN_FLAGS -Wall -Wextra -Wpedantic)
|
||||
|
||||
#find_program(CLANG_TIDY_EXECUTABLE clang-tidy)
|
||||
#if (CLANG_TIDY_EXECUTABLE)
|
||||
# set(CMAKE_C_CLANG_TIDY clang-tidy -p ${CMAKE_BINARY_DIR} --extra-arg=-std=c11)
|
||||
# set(CMAKE_CXX_CLANG_TIDY clang-tidy -p ${CMAKE_BINARY_DIR} --extra-arg=-std=c++17)
|
||||
#endif()
|
||||
|
||||
add_library(mesytec-mnode mnode_nng.cc mnode_nng_async.cc mnode_nng_proto.cc)
|
||||
target_include_directories(mesytec-mnode
|
||||
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
|
||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/mesytec-mnode)
|
||||
target_link_libraries(mesytec-mnode PUBLIC nng mnode-proto PRIVATE spdlog)
|
||||
target_compile_features(mesytec-mnode PRIVATE cxx_std_17)
|
||||
target_compile_options(mesytec-mnode PRIVATE ${MVLC_NNG_MNODE_WARN_FLAGS})
|
||||
|
||||
add_subdirectory(tools)
|
||||
|
||||
|
||||
#add_subdirectory(qt)
|
||||
|
||||
#unset(CMAKE_C_CLANG_TIDY)
|
||||
#unset(CMAKE_CXX_CLANG_TIDY)
|
||||
|
|
Loading…
Reference in a new issue