d257d68138
The add_custom_command(TARGET) signature only works for targets defined in the current directory. Clarify this in the error message when the target exists but was defined elsewhere. Inspired-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
13 lines
283 B
CMake
13 lines
283 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(AppendNoOutput)
|
|
run_cmake(AppendNotOutput)
|
|
run_cmake(BadArgument)
|
|
run_cmake(NoArguments)
|
|
run_cmake(NoOutputOrTarget)
|
|
run_cmake(OutputAndTarget)
|
|
run_cmake(SourceByproducts)
|
|
run_cmake(SourceUsesTerminal)
|
|
run_cmake(TargetImported)
|
|
run_cmake(TargetNotInDir)
|