mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 05:45:51 +00:00
2428422c02
Refactoring in commit f4ff60a803
(cmMakefile: Make GetSafeDefinition
return std::string const&, 2018-09-05) accidentally changed the logic
for target artifact prefix and suffix names such that setting a PREFIX
or SUFFIX target property would cause an empty value to be used. Revert
that part of the change and use a simpler alternative. Add a test case.
Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
7 lines
188 B
CMake
7 lines
188 B
CMake
cmake_minimum_required(VERSION 3.12)
|
|
project(OutName C)
|
|
|
|
add_executable(OutName main.c)
|
|
set_property(TARGET OutName PROPERTY PREFIX exe.)
|
|
set_property(TARGET OutName PROPERTY SUFFIX .exe)
|