[F] Fix cmake files style
This commit is contained in:
parent
5ee379ae06
commit
bcb2e16c2d
@ -253,7 +253,7 @@ endif()
|
||||
|
||||
enable_testing()
|
||||
add_test(NAME ${PROJECT_NAME}_ex COMMAND ${PROJECT_NAME}_ex)
|
||||
add_test(NAME ${PROJECT_NAME}_ex_print_styles COMMAND ${PROJECT_NAME}_ex_print_styles)
|
||||
add_test(NAME ${PROJECT_NAME}_print_styles COMMAND ${PROJECT_NAME}_print_styles)
|
||||
add_test(NAME ${PROJECT_NAME}_ex_cpp COMMAND ${PROJECT_NAME}_ex_cpp)
|
||||
add_test(NAME ${PROJECT_NAME}_test COMMAND ${PROJECT_NAME}_test)
|
||||
add_test(NAME ${PROJECT_NAME}_test_cpp COMMAND ${PROJECT_NAME}_test_cpp)
|
||||
|
@ -4,9 +4,9 @@ add_executable(${PROJECT_NAME}_ex
|
||||
target_link_libraries(${PROJECT_NAME}_ex
|
||||
fort)
|
||||
|
||||
add_executable(${PROJECT_NAME}_ex_print_styles
|
||||
add_executable(${PROJECT_NAME}_print_styles
|
||||
print_styles.c)
|
||||
target_link_libraries(${PROJECT_NAME}_ex_print_styles
|
||||
target_link_libraries(${PROJECT_NAME}_print_styles
|
||||
fort)
|
||||
|
||||
add_executable(${PROJECT_NAME}_ex_cpp
|
||||
@ -16,6 +16,6 @@ target_link_libraries(${PROJECT_NAME}_ex_cpp
|
||||
|
||||
if(DEFINED FORT_LINK_LIBRARIES)
|
||||
target_link_libraries(${PROJECT_NAME}_ex "${FORT_LINK_LIBRARIES}")
|
||||
target_link_libraries(${PROJECT_NAME}_ex_print_styles "${FORT_LINK_LIBRARIES}")
|
||||
target_link_libraries(${PROJECT_NAME}_print_styles "${FORT_LINK_LIBRARIES}")
|
||||
target_link_libraries(${PROJECT_NAME}_ex_cpp "${FORT_LINK_LIBRARIES}")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user