diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 22:38:50 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 22:38:50 +0200 |
| commit | d8b6bb52fb9f200925fe53bf431612f5446e1dcf (patch) | |
| tree | ab5cb81f88293335fec83ed6b4638919084e9a5e /src/utils/CMakeLists.txt | |
| parent | fix a compiler warning (diff) | |
| download | winapi-debug-d8b6bb52fb9f200925fe53bf431612f5446e1dcf.tar.gz winapi-debug-d8b6bb52fb9f200925fe53bf431612f5446e1dcf.zip | |
cmake: prettify CMakeLists.txt files
Diffstat (limited to 'src/utils/CMakeLists.txt')
| -rw-r--r-- | src/utils/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt index 1664882..7868dae 100644 --- a/src/utils/CMakeLists.txt +++ b/src/utils/CMakeLists.txt @@ -5,7 +5,10 @@ file(GLOB headers CONFIGURE_DEPENDS "*.hpp") function(add_util name src) add_executable("${name}" ${src} ${headers}) target_link_libraries("${name}" PRIVATE winapi_debug) - target_link_libraries("${name}" PRIVATE Boost::disable_autolinking Boost::program_options) + target_link_libraries("${name}" PRIVATE + Boost::disable_autolinking + Boost::program_options + ) install(TARGETS "${name}" RUNTIME DESTINATION bin) if(MSVC) install(FILES "$<TARGET_PDB_FILE:${name}>" DESTINATION bin OPTIONAL) @@ -25,5 +28,6 @@ if(MSVC) -- "$<TARGET_FILE:enum_symbols>" --pdb "$<TARGET_PDB_FILE:test_lib>" - --mask "test_ns:*") + --mask "test_ns:*" + ) endif() |
