C/Cpp: Fix some names in CMakeLists
This commit is contained in:
parent
7a68766392
commit
aa8679545e
|
@ -53,8 +53,8 @@ set(SOURCES
|
||||||
add_executable(ctestapp ${SOURCES})
|
add_executable(ctestapp ${SOURCES})
|
||||||
|
|
||||||
# add libraries
|
# add libraries
|
||||||
# target_link_libraries(AftermarketV2X-UseCaseApp PRIVATE lib_json)
|
# target_link_libraries(ctestapp PRIVATE lib_json)
|
||||||
# target_link_libraries(AftermarketV2X-UseCaseApp PRIVATE lib_loguru)
|
# target_link_libraries(ctestapp PRIVATE lib_loguru)
|
||||||
|
|
||||||
# define which compile target should be installed with `make install`
|
# define which compile target should be installed with `make install`
|
||||||
install(TARGETS ctestapp
|
install(TARGETS ctestapp
|
||||||
|
@ -85,7 +85,7 @@ if(CLANG_TIDY)
|
||||||
foreach(X IN ITEMS ${TIDY_INCLUDE_DIRS})
|
foreach(X IN ITEMS ${TIDY_INCLUDE_DIRS})
|
||||||
list(APPEND TIDY_INCLUDE_DIRS_ARG "-I${X}")
|
list(APPEND TIDY_INCLUDE_DIRS_ARG "-I${X}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
# add a Make target named "tidy" (to run clang-tidy manually)
|
# add a Make target named "tidy" (to run clang-tidy manually)
|
||||||
add_custom_target(tidy
|
add_custom_target(tidy
|
||||||
COMMAND ${CLANG_TIDY}
|
COMMAND ${CLANG_TIDY}
|
||||||
|
|
Loading…
Reference in a new issue