Skip to content
Snippets Groups Projects
Forked from CMake / CMake
Loading
Brad King's avatar
Brad King authored
When $<TARGET_PROPERTY> names a build property like COMPILE_DEFINITIONS
but not the usage requirement (INTERFACE_) version of it, the value
should be that used to build the target.  It should not be influenced by
a dependent 'head' target like usage requirements are.

Extend the CompileDefinitions test with a case covering the corrected
behavior.

Reviewed-by: default avatarStephen Kelly <steveire@gmail.com>
3f476bea
History
Name Last commit Last update
..
CPack
CTest
CursesDialog
QtDialog
QtIFW
kwsys
.cvsignore
.gitattributes
CMakeInstallDestinations.cmake
CMakeLists.txt
CMakeSourceDir.txt.in
CMakeVersion.bash
CMakeVersion.cmake
CMakeVersionCompute.cmake
CMakeVersionSource.cmake
cmAddCompileOptionsCommand.cxx
cmAddCompileOptionsCommand.h
cmAddCustomCommandCommand.cxx
cmAddCustomCommandCommand.h
cmAddCustomTargetCommand.cxx
cmAddCustomTargetCommand.h
cmAddDefinitionsCommand.cxx
cmAddDefinitionsCommand.h
cmAddDependenciesCommand.cxx
cmAddDependenciesCommand.h
cmAddExecutableCommand.cxx
cmAddExecutableCommand.h
cmAddLibraryCommand.cxx
cmAddLibraryCommand.h
cmAddSubDirectoryCommand.cxx
cmAddSubDirectoryCommand.h
cmAddTestCommand.cxx
cmAddTestCommand.h
cmArchiveWrite.cxx
cmArchiveWrite.h
cmAuxSourceDirectoryCommand.cxx
cmAuxSourceDirectoryCommand.h
cmBootstrapCommands1.cxx
cmBootstrapCommands2.cxx
cmBreakCommand.cxx
cmBreakCommand.h
cmBuildCommand.cxx
cmBuildCommand.h
cmBuildNameCommand.cxx
cmBuildNameCommand.h
cmCMakeHostSystemInformationCommand.cxx
cmCMakeHostSystemInformationCommand.h
cmCMakeMinimumRequired.cxx
cmCMakeMinimumRequired.h
cmCMakePolicyCommand.cxx
cmCMakePolicyCommand.h
cmCPackPropertiesGenerator.cxx
cmCPackPropertiesGenerator.h
cmCPluginAPI.cxx
cmCPluginAPI.h
cmCTest.cxx
cmCTest.h
cmCacheManager.cxx
cmCacheManager.h
cmCallVisualStudioMacro.cxx
cmCallVisualStudioMacro.h
cmCommand.h
cmCommandArgumentLexer.cxx
cmCommandArgumentLexer.h
cmCommandArgumentLexer.in.l
cmCommandArgumentParser.cxx
cmCommandArgumentParser.y
cmCommandArgumentParserHelper.cxx
cmCommandArgumentParserHelper.h
cmCommandArgumentParserTokens.h
cmCommandArgumentsHelper.cxx
cmCommandArgumentsHelper.h
cmCommands.cxx.in
cmCommands.h
cmCommandsForBootstrap.cxx
cmComputeComponentGraph.cxx
cmComputeComponentGraph.h
cmComputeLinkDepends.cxx
cmComputeLinkDepends.h
cmComputeLinkInformation.cxx
cmComputeLinkInformation.h
cmComputeTargetDepends.cxx
cmComputeTargetDepends.h
cmConfigure.cmake.h.in
cmConfigureFileCommand.cxx
cmConfigureFileCommand.h
cmCoreTryCompile.cxx
cmCoreTryCompile.h
cmCreateTestSourceList.cxx
cmCreateTestSourceList.h
cmCryptoHash.cxx
cmCryptoHash.h
cmCustomCommand.cxx
cmCustomCommand.h
cmCustomCommandGenerator.cxx
cmCustomCommandGenerator.h
cmDefinePropertyCommand.cxx
cmDefinePropertyCommand.h
cmDefinitions.cxx
cmDefinitions.h