mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-26 13:55:34 +00:00
Use "example_" prefix instead of "_example" suffix for example sources and binaries.
This commit is contained in:
@@ -11,37 +11,37 @@ else()
|
||||
endif()
|
||||
|
||||
|
||||
add_executable(smartctl_executor_example)
|
||||
target_sources(smartctl_executor_example PRIVATE
|
||||
smartctl_executor_example.cpp
|
||||
add_executable(example_smartctl_executor)
|
||||
target_sources(example_smartctl_executor PRIVATE
|
||||
example_smartctl_executor.cpp
|
||||
)
|
||||
target_link_libraries(smartctl_executor_example PRIVATE
|
||||
target_link_libraries(example_smartctl_executor PRIVATE
|
||||
applib
|
||||
)
|
||||
|
||||
|
||||
add_executable(smartctl_parser_example)
|
||||
target_sources(smartctl_parser_example PRIVATE
|
||||
smartctl_parser_example.cpp
|
||||
add_executable(example_smartctl_parser)
|
||||
target_sources(example_smartctl_parser PRIVATE
|
||||
example_smartctl_parser.cpp
|
||||
)
|
||||
target_link_libraries(smartctl_parser_example PRIVATE
|
||||
target_link_libraries(example_smartctl_parser PRIVATE
|
||||
applib
|
||||
)
|
||||
|
||||
|
||||
add_executable(spawn_example)
|
||||
target_sources(spawn_example PRIVATE
|
||||
spawn_example.cpp
|
||||
add_executable(example_spawn)
|
||||
target_sources(example_spawn PRIVATE
|
||||
example_spawn.cpp
|
||||
)
|
||||
target_link_libraries(spawn_example PRIVATE
|
||||
target_link_libraries(example_spawn PRIVATE
|
||||
applib
|
||||
)
|
||||
|
||||
|
||||
add_executable(storage_detector_example)
|
||||
target_sources(storage_detector_example PRIVATE
|
||||
storage_detector_example.cpp
|
||||
add_executable(example_storage_detector)
|
||||
target_sources(example_storage_detector PRIVATE
|
||||
example_storage_detector.cpp
|
||||
)
|
||||
target_link_libraries(storage_detector_example PRIVATE
|
||||
target_link_libraries(example_storage_detector PRIVATE
|
||||
applib
|
||||
)
|
||||
|
||||
@@ -11,28 +11,28 @@ else()
|
||||
endif()
|
||||
|
||||
|
||||
add_executable(format_unit_example)
|
||||
target_sources(format_unit_example PRIVATE
|
||||
format_unit_example.cpp
|
||||
add_executable(example_format_unit)
|
||||
target_sources(example_format_unit PRIVATE
|
||||
example_format_unit.cpp
|
||||
)
|
||||
target_link_libraries(format_unit_example PRIVATE
|
||||
target_link_libraries(example_format_unit PRIVATE
|
||||
hz
|
||||
)
|
||||
|
||||
|
||||
add_executable(string_algo_example)
|
||||
target_sources(string_algo_example PRIVATE
|
||||
string_algo_example.cpp
|
||||
add_executable(example_string_algo)
|
||||
target_sources(example_string_algo PRIVATE
|
||||
example_string_algo.cpp
|
||||
)
|
||||
target_link_libraries(string_algo_example PRIVATE
|
||||
target_link_libraries(example_string_algo PRIVATE
|
||||
hz
|
||||
)
|
||||
|
||||
|
||||
add_executable(string_num_example)
|
||||
target_sources(string_num_example PRIVATE
|
||||
string_num_example.cpp
|
||||
add_executable(example_string_num)
|
||||
target_sources(example_string_num PRIVATE
|
||||
example_string_num.cpp
|
||||
)
|
||||
target_link_libraries(string_num_example PRIVATE
|
||||
target_link_libraries(example_string_num PRIVATE
|
||||
hz
|
||||
)
|
||||
|
||||
@@ -11,11 +11,11 @@ else()
|
||||
endif()
|
||||
|
||||
|
||||
add_executable(libdebug_example)
|
||||
target_sources(libdebug_example PRIVATE
|
||||
libdebug_example.cpp
|
||||
add_executable(example_libdebug)
|
||||
target_sources(example_libdebug PRIVATE
|
||||
example_libdebug.cpp
|
||||
)
|
||||
target_link_libraries(libdebug_example PRIVATE
|
||||
target_link_libraries(example_libdebug PRIVATE
|
||||
libdebug
|
||||
)
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@ else()
|
||||
endif()
|
||||
|
||||
|
||||
add_executable(rconfig_example)
|
||||
target_sources(rconfig_example PRIVATE
|
||||
rconfig_example.cpp
|
||||
add_executable(example_rconfig)
|
||||
target_sources(example_rconfig PRIVATE
|
||||
example_rconfig.cpp
|
||||
)
|
||||
target_link_libraries(rconfig_example PRIVATE
|
||||
target_link_libraries(example_rconfig PRIVATE
|
||||
rconfig
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user