Stephen Kelly
d231c31b98
Export: Port internal API to cmGeneratorTarget.
2015-10-18 16:29:30 +02:00
Stephen Kelly
e666128243
Export: Port internal utility to cmGeneratorTarget.
2015-10-18 16:29:30 +02:00
Stephen Kelly
2b9cc1e248
Export: Port some API to cmGlobalGenerator.
2015-10-18 16:29:30 +02:00
Stephen Kelly
97062ac268
cmInstallTargetGenerator: Port GetInstallFilename to cmGeneratorTarget.
2015-10-18 16:29:30 +02:00
Stephen Kelly
6a72b3c84e
Export: Port interface to cmGeneratorTarget.
2015-10-18 16:29:29 +02:00
Stephen Kelly
1293c1561a
cmExportTryCompileFileGenerator: Port to cmGeneratorTarget.
2015-10-18 16:29:29 +02:00
Stephen Kelly
381e7afd36
cmExportSet: Store a cmGeneratorTarget.
...
Set the member at compute time from the stored name.
2015-10-18 16:29:29 +02:00
Stephen Kelly
65911cae4d
cmGlobalGenerator: Compute export() related classes early.
...
Simplify CMP0024 handling.
2015-10-18 16:29:29 +02:00
Stephen Kelly
37ab74a607
cmLocalGenerator: Port PList handling to cmGeneratorTarget.
2015-10-18 16:29:29 +02:00
Stephen Kelly
31c4aee75a
cmLocalGenerator: Port policy handling to cmGeneratorTarget.
2015-10-17 17:30:39 +02:00
Stephen Kelly
3e8ef64273
cmLocalGenerator: Port some API to cmGeneratorTarget.
2015-10-17 17:30:38 +02:00
Stephen Kelly
cfb2f7508a
Use cmGeneratorTarget for property access.
2015-10-17 17:30:38 +02:00
Stephen Kelly
b857f0d84b
Use GetName from cmGeneratorTarget.
2015-10-17 17:30:37 +02:00
Stephen Kelly
ed09f3b292
Use IsImported from cmGeneratorTarget.
2015-10-16 20:24:44 +02:00
Stephen Kelly
beff29f0d4
cmGeneratorTarget: Move ComputeVersionedName from cmTarget.
2015-10-16 20:24:44 +02:00
Stephen Kelly
12e4790a0b
cmGeneratorTarget: Move GetTargetVersion from cmTarget.
2015-10-16 20:24:44 +02:00
Stephen Kelly
1427227720
cmGeneratorTarget: Move CheckCMP0004 from cmTarget.
2015-10-16 20:24:44 +02:00
Stephen Kelly
8f363d6771
cmGeneratorTarget: Move ImportInfo from cmTarget.
2015-10-16 20:24:43 +02:00
Stephen Kelly
5794dbc301
cmTarget: Inline the essential part of imported target location.
2015-10-16 20:24:43 +02:00
Stephen Kelly
a892b285f8
cmGeneratorTarget: Move ImportedGetLocation from cmTarget.
2015-10-16 20:24:43 +02:00
Stephen Kelly
cb8c728f17
cmGeneratorTarget: Move GetFullNameImported from cmTarget.
2015-10-16 20:24:43 +02:00
Stephen Kelly
fb4fca0b5e
cmGeneratorTarget: Access global state through LocalGenerator.
2015-10-16 20:24:43 +02:00
Stephen Kelly
50fb2ad646
cmGeneratorTarget: Port Utility items to cmGeneratorTarget.
2015-10-16 20:17:32 +02:00
Stephen Kelly
d233030f5b
cmGeneratorTarget: Port implementation to cmGeneratorTarget.
2015-10-16 20:17:31 +02:00
Stephen Kelly
0ebe2bbf4a
cmGeneratorTarget: Port language computation to cmGeneratorTarget.
2015-10-16 20:17:31 +02:00
Stephen Kelly
60bd9f9c92
cmGeneratorTarget: Move GetObjectLibrariesCMP0026 from cmTarget.
2015-10-16 20:17:22 +02:00
Stephen Kelly
82a6eaf4d0
cmGeneratorTarget: Port TraceDependencies to cmTarget.
...
The problem of needing cmTarget is not solved with this, but the removal
of the cmTarget member is valuable.
2015-10-16 20:17:13 +02:00
Stephen Kelly
8aaed08696
cmGeneratorTarget: Port object library handling to cmGeneratorTarget.
2015-10-16 20:15:03 +02:00
Stephen Kelly
393654bf49
cmGeneratorTarget: Port internal class to cmGeneratorTarget.
2015-10-16 19:20:17 +02:00
Brad King
893ce307f9
Merge topic 'ghs-drop-optgroup'
...
ce7ccafc
GHS: Remove extra flag to GHS MULTI compiler (#15771 )
2015-10-16 09:35:41 -04:00
Brad King
02f8d51f48
Merge topic 'ExternalProject-fix-git-version'
...
c9e0173e
ExternalProject: Always use CMake builtin FindGit (#15791 )
4cd52dc5
ExternalProject: Fix Git version report in error message (#15791 )
2015-10-16 09:35:39 -04:00
Brad King
dfd371dc01
Merge topic 'genex-consumers-generator-targets'
...
c4ae1578
Genex: Port some access API to cmGeneratorTarget.
6d27a3db
Genex: Port implementation to cmGeneratorTarget.
2015-10-16 09:35:37 -04:00
Brad King
f13521317a
Merge topic 'clean-up-cmTarget'
...
55474e61
cmState: Move GetTargetTypeName from cmTarget.
38df5c36
Remove now-obsolete casts.
4ee2b267
cmGeneratorTarget: Use enum for GetType.
eac15298
cmState: Move TargetType enum from cmTarget.
482b3811
cmTarget: Move link type enum out.
2ee1cb85
cmTarget: Move ImportInfoMap out of internal class.
a48bcabd
cmTarget: Move backtrace member out of internal class.
6694d993
cmTarget: Remove unneeded constructors.
983c00f8
Generators: Use GetType from the cmGeneratorTarget.
2015-10-16 09:35:34 -04:00
Brad King
a4f0b01939
Merge topic 'GetTargetDirectory-cmGeneratorTarget'
...
7f5ec9f1
cmLocalGenerator: Port GetTargetDirectory to cmGeneratorTarget.
06f56d3b
cmLocalUnixMakefileGenerator3: Port AppendCleanCommand to cmGeneratorTarget.
c8f8f165
cmLocalUnixMakefileGenerator3: Port another API to cmGeneratorTarget.
9f299a12
cmLocalUnixMakefileGenerator3: Port API to cmGenertorTarget.
2015-10-16 09:35:32 -04:00
Kitware Robot
2f1c3401ec
CMake Nightly Date Stamp
2015-10-16 00:01:06 -04:00
Stephen Kelly
c4ae157865
Genex: Port some access API to cmGeneratorTarget.
2015-10-15 22:40:56 +02:00
Stephen Kelly
6d27a3dbfb
Genex: Port implementation to cmGeneratorTarget.
2015-10-15 22:40:55 +02:00
Geoff Viola
ce7ccafce2
GHS: Remove extra flag to GHS MULTI compiler ( #15771 )
...
Do not produce "{optgroup=GhsCommonOptions}" in the generated .gpj
files. The flag was added originally to match an old project file, but
it does not seem necessary and is not compatible with all GHS versions.
2015-10-15 09:56:47 -04:00
Brad King
c9e0173e6f
ExternalProject: Always use CMake builtin FindGit ( #15791 )
...
Unset CMAKE_MODULE_PATH before calling find_package(Git) to ensure we do
not get a project-provided FindGit module that may not provide the
GIT_VERSION_STRING that we need. We do not need to restore the value
explicitly because this occurs inside the _ep_add_download_command
function call scope.
2015-10-15 09:35:43 -04:00
Brad King
4cd52dc551
ExternalProject: Fix Git version report in error message ( #15791 )
...
Refactoring in commit v3.4.0-rc1~77^2~1 (ExternalProject: Use
GIT_VERSION_STRING instead of custom method, 2015-09-17) forgot
to update the variable name used in an error message.
2015-10-15 09:00:23 -04:00
Kitware Robot
8e394cf9e3
CMake Nightly Date Stamp
2015-10-15 00:01:05 -04:00
Stephen Kelly
55474e6182
cmState: Move GetTargetTypeName from cmTarget.
2015-10-15 00:41:40 +02:00
Stephen Kelly
38df5c36d6
Remove now-obsolete casts.
2015-10-15 00:41:40 +02:00
Stephen Kelly
4ee2b26708
cmGeneratorTarget: Use enum for GetType.
2015-10-15 00:41:40 +02:00
Stephen Kelly
eac15298a8
cmState: Move TargetType enum from cmTarget.
...
Mostly automated:
values=( "EXECUTABLE" "STATIC_LIBRARY" "SHARED_LIBRARY" "MODULE_LIBRARY" "OBJECT_LIBRARY" "UTILITY" "GLOBAL_TARGET" "INTERFACE_LIBRARY" "UNKNOWN_LIBRARY" "TargetType")
for i in "${values[@]}"; do git grep -l cmTarget::$i | xargs sed -i "s|cmTarget::$i|cmState::$i|g"; done
2015-10-15 00:41:39 +02:00
Stephen Kelly
482b3811e4
cmTarget: Move link type enum out.
...
Remove a reason for generate time code to depend on the cmTarget header/type.
2015-10-15 00:41:22 +02:00
Stephen Kelly
2ee1cb85e8
cmTarget: Move ImportInfoMap out of internal class.
2015-10-15 00:41:22 +02:00
Stephen Kelly
a48bcabd33
cmTarget: Move backtrace member out of internal class.
2015-10-15 00:41:21 +02:00
Stephen Kelly
6694d99376
cmTarget: Remove unneeded constructors.
...
The compiler generated ones are fine here.
2015-10-15 00:41:21 +02:00
Stephen Kelly
983c00f8f9
Generators: Use GetType from the cmGeneratorTarget.
2015-10-15 00:41:19 +02:00