Author: rinrab
Date: Wed Jul 17 17:21:07 2024
New Revision: 1919315
URL: http://svn.apache.org/viewvc?rev=1919315&view=rev
Log:
On the 'cmake' branch: Little fix with OUTPUT_NAME.
Move the line that changes the output name of the targets outside of the
`if' block of ezt template with the check for if targets.msvc_export
existing. Before, when the target without any exports was compiling
the name wasn't applying.
* build/generator/templates/targets.cmake.ezt
(lib): Fix commands sequence.
Modified:
subversion/branches/cmake/build/generator/templates/targets.cmake.ezt
Modified: subversion/branches/cmake/build/generator/templates/targets.cmake.ezt
URL:
http://svn.apache.org/viewvc/subversion/branches/cmake/build/generator/templates/targets.cmake.ezt?rev=1919315&r1=1919314&r2=1919315&view=diff
==============================================================================
--- subversion/branches/cmake/build/generator/templates/targets.cmake.ezt
(original)
+++ subversion/branches/cmake/build/generator/templates/targets.cmake.ezt Wed
Jul 17 17:21:07 2024
@@ -25,10 +25,10 @@ if ([targets.enable_condition])[is targe
add_library([targets.name][if-any targets.build_type]
[targets.build_type][end][for targets.sources]
[targets.sources][end]
)[if-any targets.msvc_export]
- set_target_properties([targets.name] PROPERTIES OUTPUT_NAME
"[targets.name]-1")
target_exports([targets.name][for targets.msvc_export]
[targets.msvc_export][end]
)[end]
+ set_target_properties([targets.name] PROPERTIES OUTPUT_NAME
"[targets.name]-1")
target_include_directories([targets.name] PUBLIC
"${CMAKE_CURRENT_SOURCE_DIR}/subversion/include"
)[if-any targets.group]