Kitware Robot
101ba25e6a
CMake Nightly Date Stamp
2015-08-08 00:01:08 -04:00
Stephen Kelly
29886ce764
cmTarget: Use a simpler delete algorithm.
...
This way, the methods can be moved without requiring a local algorithm.
The containers use automatic storage.
2015-08-07 21:55:17 +02:00
Stephen Kelly
197f4de110
cmTarget: Split storage of compile definitions from genexes.
2015-08-07 17:06:19 +02:00
Stephen Kelly
44e071aeff
cmTarget: Split storage of compile features from genexes.
2015-08-07 17:06:18 +02:00
Stephen Kelly
772ecef4b8
cmTarget: Split storage of compile options from genexes.
2015-08-07 17:06:17 +02:00
Stephen Kelly
1f54bc1cf3
cmTarget: Split storage of include directories from genexes.
2015-08-07 17:06:15 +02:00
Stephen Kelly
7568199b4d
cmTarget: Request only the link libraries where needed.
2015-08-07 17:06:15 +02:00
Kitware Robot
3cefadbff0
CMake Nightly Date Stamp
2015-08-07 00:01:07 -04:00
Stephen Kelly
6d8a125e49
cmQtAutoGenerators: Prefer a generator to access global generator.
2015-08-07 04:10:29 +02:00
Stephen Kelly
5f66900e71
cmGlobalGenerator: Port Find API to cmMakefile.
2015-08-07 04:10:29 +02:00
Stephen Kelly
c5b8841fd9
cmGlobalGenerator: Create global targets from cmMakefiles.
2015-08-07 04:10:29 +02:00
Stephen Kelly
8f75ea3b5e
cmGlobalGenerator: Port global target creation to cmMakefile.
2015-08-07 04:10:29 +02:00
Stephen Kelly
56f0540b51
cmGlobalGenerator: Port Configure-time check to cmMakefile.
...
This uses no generate-time state.
2015-08-07 04:10:29 +02:00
Stephen Kelly
19b546ef76
cmGlobalGenerator: Base final target property computation on Makefiles.
2015-08-07 04:10:29 +02:00
Stephen Kelly
f8be9ba9c2
cmGlobalGenerator: Base progress on Makefiles, not LocalGenerators.
2015-08-07 04:10:28 +02:00
Stephen Kelly
bc1097e3d9
cmExportLibraryDependenciesCommand: Port to cmMakefile.
2015-08-07 04:10:28 +02:00
Stephen Kelly
204aecdf82
cmGlobalGenerator: Port configure-time code to cmMakefile.
2015-08-07 04:10:28 +02:00
Stephen Kelly
3dd6f0a5bc
cmake: Port configure-time code to cmMakefile.
2015-08-07 04:10:28 +02:00
Stephen Kelly
73e4df99cb
cmGlobalGenerator: Store a container of cmMakefiles.
...
For use at configure-time.
2015-08-07 04:10:28 +02:00
Stephen Kelly
193699376a
cmGeneratorTarget: Port internal type to cmGeneratorTarget.
2015-08-07 04:10:28 +02:00
Stephen Kelly
32f131b0ca
cmGeneratorTarget: Prefer the local generator to access the global.
2015-08-07 04:10:28 +02:00
Stephen Kelly
10040601a2
cmLinkImplementationLibraries: Move to namespace scope.
2015-08-07 00:51:49 +02:00
Stephen Kelly
d9da6ee29f
cmLinkItem: Split to separate file.
2015-08-07 00:51:45 +02:00
Stephen Kelly
27252b2414
cmComputeLinkInformation: Simplify generator object access.
2015-08-07 00:51:40 +02:00
Stephen Kelly
1689c91d8d
cmMakefile: Remove unused method.
2015-08-07 00:32:15 +02:00
Stephen Kelly
dd11f72ced
cmGlobalGenerator: Base exclusion computation on cmGeneratorTarget.
2015-08-07 00:32:15 +02:00
James Johnston
d035e9687a
get_filename_component: Fix bug where CACHE was ignored.
...
If PROGRAM_ARGS is provided to get_filename_component, fix bug where the
command failed to honor the CACHE argument.
Added test cases to RunCMake.get_filename_component that fail when the
bug is not fixed to prevent regressions.
Signed-off-by: James Johnston <johnstonj.public@codenest.com>
2015-08-06 17:53:34 +00:00
James Johnston
afeb4eb243
nmake/jom: Only warn about bad VS environment if compiler not found.
...
nmake and jom generators no longer warn about missing INCLUDE/LIB
environment variables unless the C/CXX compiler cannot be found. This
is useful if the user does not want to use these generators with the
Visual C++ compiler, or they do not want to enable any language.
2015-08-06 17:32:43 +00:00
Brad King
35aab9df9f
Reject TARGET_PDB_FILE for imported targets instead of crashing
...
Reported-by: Justin Borodinsky <justin.borodinsky@gmail.com>
2015-08-06 09:42:31 -04:00
Brad King
91c1b13d6e
Merge topic 'ninja-LINK_DEPENDS'
...
43c94281
Ninja: Honor the LINK_DEPENDS target property (#14796 )
2015-08-06 09:38:31 -04:00
Brad King
55706506c7
Merge topic 'use-generator-target'
...
a309409e
cmOrderDirectories: Port to cmGeneratorTarget.
f83e8402
cmGeneratorTarget: Move CompileInfoMap from cmTarget.
b3f0e353
cmGeneratorTarget: Move GetCompilePDBDirectory from cmTarget.
34c43741
cmGeneratorTarget: Move GetOutputName from cmTarget.
4329a71c
cmComputeLinkDepends: Port to cmGeneratorTarget.
c93230ac
cmComputeLinkInformation: Port to cmGeneratorTarget.
ee26add4
cmGeneratorTarget: Move IsBundleOnApple from cmTarget.
c8a5f5ae
cmMakefileTargetGenerator: Add accessor for GeneratorTarget.
f8076644
cmGeneratorTarget: Move GetLinkClosure from cmTarget.
7c809fa2
cmGeneratorTarget: Move GetLinkerLanguage from cmTarget.
6da99de3
cmGeneratorTarget: Move GetFrameworkDirectory from cmTarget.
d6bb319b
cmGeneratorTarget: Move GetFullName from cmTarget.
7a460852
cmGeneratorTarget: Move GetAppBundleDirectory from cmTarget.
d560bfd2
cmGeneratorTarget: Move GetInstallNameDir* from cmTarget.
89e2a080
cmGeneratorTarget: Move GetMacContentDirectory from cmTarget.
62720e44
cmGeneratorTarget: Move GetFullNameComponents from cmTarget.
...
2015-08-06 09:38:27 -04:00
Brad King
73e3de381d
Merge topic 'cmState-policies'
...
757a1f54
cmState: Move PolicyState from cmMakefile.
52dbe654
cmState: Record the end position of each directory.
65a5e0c6
cmLinkedTree: Add Clear API.
34835433
cmState: Add Type for policy scope.
af0de01c
cmState: Remove call stack parent tracking.
6ae8b30b
cmMakefile: Move policy barriers inside cmState scopes.
a5fc17b5
cmMakefile: Re-order policy entries and barriers.
0a01e6c6
cmState: Add Snapshot Type accessor.
f0005bb4
Tests: Verify generate-time policy scope behavior.
2015-08-06 09:38:24 -04:00
Brad King
370e2c6785
Merge topic 'refactor-evaluation-files'
...
12c3f248
cmGeneratorExpressionEvaluationFile: Require generator context.
6c0e9ee2
cmMakefile: Store EvaluationFiles.
2015-08-06 09:38:22 -04:00
Brad King
d356bced9b
Merge topic 'fix-missing-subdir-error'
...
c4d2f64f
add_subdirectory: Fix error message on missing CMakeLists.txt (#15680 )
2015-08-06 09:38:17 -04:00
Kitware Robot
42526efec4
CMake Nightly Date Stamp
2015-08-06 00:01:07 -04:00
Brad King
43c9428140
Ninja: Honor the LINK_DEPENDS target property ( #14796 )
2015-08-05 14:12:05 -04:00
Brad King
863b0a8ee9
Merge topic 'xcode-improve-quoting'
...
2eee2943
Xcode: Invert quoting logic to whitelist of characters
2015-08-05 13:54:38 -04:00
Gregor Jasny
2eee2943cc
Xcode: Invert quoting logic to whitelist of characters
...
Our explicit list of characters that require quoting does not account
for non-ascii characters (e.g. UTF-8) that also need quoting. Invert
the logic to quote a string unless it contains exclusively a set of
characters we whitelist.
2015-08-05 13:51:31 -04:00
Stephen Kelly
a309409ead
cmOrderDirectories: Port to cmGeneratorTarget.
2015-08-05 18:20:50 +02:00
Stephen Kelly
f83e84028a
cmGeneratorTarget: Move CompileInfoMap from cmTarget.
2015-08-05 18:20:50 +02:00
Stephen Kelly
b3f0e35308
cmGeneratorTarget: Move GetCompilePDBDirectory from cmTarget.
2015-08-05 18:20:50 +02:00
Stephen Kelly
34c437411d
cmGeneratorTarget: Move GetOutputName from cmTarget.
2015-08-05 18:20:50 +02:00
Stephen Kelly
4329a71c12
cmComputeLinkDepends: Port to cmGeneratorTarget.
2015-08-05 18:20:49 +02:00
Stephen Kelly
c93230ac38
cmComputeLinkInformation: Port to cmGeneratorTarget.
2015-08-05 18:20:49 +02:00
Stephen Kelly
ee26add4f4
cmGeneratorTarget: Move IsBundleOnApple from cmTarget.
2015-08-05 18:20:49 +02:00
Stephen Kelly
c8a5f5ae60
cmMakefileTargetGenerator: Add accessor for GeneratorTarget.
2015-08-05 18:20:49 +02:00
Stephen Kelly
f8076644ce
cmGeneratorTarget: Move GetLinkClosure from cmTarget.
2015-08-05 18:20:49 +02:00
Stephen Kelly
7c809fa2a6
cmGeneratorTarget: Move GetLinkerLanguage from cmTarget.
2015-08-05 18:20:48 +02:00
Stephen Kelly
6da99de323
cmGeneratorTarget: Move GetFrameworkDirectory from cmTarget.
2015-08-05 18:20:48 +02:00
Stephen Kelly
d6bb319b09
cmGeneratorTarget: Move GetFullName from cmTarget.
...
Bring GetFullNameInternal with it.
2015-08-05 18:20:48 +02:00
Stephen Kelly
7a460852fa
cmGeneratorTarget: Move GetAppBundleDirectory from cmTarget.
2015-08-05 18:20:48 +02:00
Stephen Kelly
d560bfd273
cmGeneratorTarget: Move GetInstallNameDir* from cmTarget.
2015-08-05 18:20:47 +02:00
Stephen Kelly
89e2a080e9
cmGeneratorTarget: Move GetMacContentDirectory from cmTarget.
2015-08-05 18:20:47 +02:00
Stephen Kelly
62720e44be
cmGeneratorTarget: Move GetFullNameComponents from cmTarget.
2015-08-05 18:20:47 +02:00
Stephen Kelly
e27d737e27
cmGeneratorTarget: Move IsChrPathUsed from cmTarget.
2015-08-05 18:20:47 +02:00
Stephen Kelly
8d2de00244
cmGeneratorTarget: Move NeedRelinkBeforeInstall from cmTarget.
2015-08-05 18:20:47 +02:00
Stephen Kelly
3df705681b
cmGeneratorTarget: Move GetPDBName from cmTarget.
2015-08-05 18:20:46 +02:00
Stephen Kelly
a45fed81e5
cmGeneratorTarget: Move GetCompilePDBPath from cmTarget.
2015-08-05 18:20:46 +02:00
Stephen Kelly
f0aa660772
cmGeneratorTarget: Move HasSOName from cmTarget.
2015-08-05 18:20:46 +02:00
Stephen Kelly
766839c56d
cmGeneratorTarget: Move GetLibraryNames from cmTarget.
2015-08-05 18:20:46 +02:00
Stephen Kelly
47803e6f8e
cmGeneratorTarget: Move GetExecutableNames from cmTarget.
2015-08-05 18:20:46 +02:00
Stephen Kelly
7da4c9d4ed
cmGeneratorTarget: Move GetLinkImplementationClosure
2015-08-05 18:20:45 +02:00
Stephen Kelly
97f10e488a
cmGeneratorTarget: Move ReportPropertyOrigin from cmTarget.
2015-08-05 18:20:45 +02:00
Stephen Kelly
4b86f5edc9
cmGeneratorTarget: Make CompatibleType enum private again.
2015-08-05 18:20:45 +02:00
Stephen Kelly
5ff813c7a6
cmGeneratorTarget: Move LinkInterfaceDependent methods from cmTarget.
2015-08-05 18:20:45 +02:00
Stephen Kelly
38d4ba3564
cmGeneratorTarget: Port internal API to cmGeneratorTarget.
2015-08-05 18:20:44 +02:00
Stephen Kelly
90bad039c4
cmGeneratorTarget: Move CheckPropertyCompatibility from cmTarget.
2015-08-05 18:20:44 +02:00
Stephen Kelly
803a7982b4
cmGeneratorTarget: Move GetLinkInformation from cmTarget
2015-08-05 18:20:44 +02:00
Stephen Kelly
c971338416
Export: Port more API to cmGeneratorTarget.
2015-08-05 18:20:44 +02:00
Stephen Kelly
244c5b5dcd
cmGeneratorTarget: Move IsLinkInterfaceDependent* from cmTarget.
2015-08-05 18:20:44 +02:00
Stephen Kelly
12bc571c13
cmGeneratorTarget: Move GetAutoUicOptions from cmTarget.
2015-08-05 18:20:43 +02:00
Stephen Kelly
41abdc17df
cmGeneratorTarget: Move GetSOName from cmTarget..
2015-08-05 18:20:43 +02:00
Kitware Robot
a15b69cbc7
CMake Nightly Date Stamp
2015-08-05 00:01:06 -04:00
Brad King
c4d2f64f3c
add_subdirectory: Fix error message on missing CMakeLists.txt ( #15680 )
...
Refactoring in commit v3.3.0-rc1~76^2 (cmMakefile: Handle CMP0014 before
configuring the generator, 2015-05-14) accidentally left the file name
"/CMakeLists.txt" in the error message. Remove it and add a test case.
2015-08-04 16:40:13 -04:00
Stephen Kelly
1aa13f2b58
cmExportInstallFileGenerator: Simplify local generator access.
2015-08-04 19:19:41 +02:00
Stephen Kelly
1ab59f688f
cmGlobalNinjaGenerator: Simplify usage of API.
2015-08-04 19:19:40 +02:00
Brad King
87b869c1da
Merge topic 'update-kwsys'
...
3da43137
Merge branch 'upstream-kwsys' into update-kwsys
9a59ae5c
KWSys 2015-08-03 (dad68c33)
2015-08-04 09:15:12 -04:00
Brad King
4a1173fda0
Merge topic 'cmake-W-options'
...
975426ce
cmake: Do not treat developer warnings as errors by default in scripts
2015-08-04 09:15:08 -04:00
Kitware Robot
331e791a3e
CMake Nightly Date Stamp
2015-08-04 00:01:07 -04:00
Brad King
3da431379b
Merge branch 'upstream-kwsys' into update-kwsys
2015-08-03 13:17:54 -04:00
Brad King
975426ceb3
cmake: Do not treat developer warnings as errors by default in scripts
...
The logic in commit c96fe0b4
(cmake: Add -W options to control
deprecation warnings and errors, 2015-07-28) accidentally enables
errors on warnings by default in scripts because there is no
initialization of CMAKE_SUPPRESS_DEVELOPER_ERRORS to TRUE.
Rename internal CMAKE_SUPPRESS_DEVELOPER_ERRORS cache entry to
CMAKE_ERROR_DEVELOPER_WARNINGS. Fix the logic in the message() command
to treat AUTHOR_WARNING as an error only if the option is explicitly
enabled.
2015-08-03 10:03:27 -04:00
Brad King
7ac2b1256b
Merge topic 'if-test'
...
14e49ed1
if: Add "TEST <test>" condition
623dcc85
ExternalProject: Avoid if() auto-dereference of a "TEST" variable
2015-08-03 09:25:10 -04:00
Matt McCormick
14e49ed156
if: Add "TEST <test>" condition
...
if(TEST TestNameThatExists) will return true if a test with the name
TestNameThatExists has been added with add_test. The syntax is similar
to if(TARGET TargetName). Since use of "TEST" as an argument to if()
could previously be interpreted as a non-keyword argument, add policy
CMP0064 to treat it as a keyword as NEW behavior.
2015-08-03 09:22:25 -04:00
Brad King
25ec835571
Merge topic 'fix-windows-version-detection'
...
d4736d53
Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8.1 (#15674 )
2015-08-03 09:11:30 -04:00
Brad King
db519cae57
Merge topic 'fix-xcode-quoting'
...
f7a9ed7e
Xcode: Quote strings containing a tilde (#15672 )
2015-08-03 09:11:28 -04:00
Brad King
5c02ae4ac9
Merge topic 'update-kwsys'
...
da98b896
Tests: In CTestTest2 skip the kwsys.testProcess-10 test that leaks
129640f2
CTestCustom: Ignore kwsys.testProcess-10 for MemCheck as KWSys does
d0915bc8
Merge branch 'upstream-kwsys' into update-kwsys
1feafc64
KWSys 2015-07-30 (f63febb7)
2015-08-03 09:11:25 -04:00
Kitware Robot
ebacce3f0b
CMake Nightly Date Stamp
2015-08-03 00:01:05 -04:00
Stephen Kelly
757a1f5408
cmState: Move PolicyState from cmMakefile.
...
Implement lexical scope checking in terms of the state stack instead
of barriers.
2015-08-02 08:56:57 +02:00
Stephen Kelly
52dbe654de
cmState: Record the end position of each directory.
...
At generate time, variables and policies are determined from the end
state of the cmMakefile.
2015-08-02 08:56:57 +02:00
Stephen Kelly
65a5e0c671
cmLinkedTree: Add Clear API.
2015-08-02 08:56:57 +02:00
Stephen Kelly
348354333a
cmState: Add Type for policy scope.
2015-08-02 08:56:57 +02:00
Kitware Robot
614786cc5c
CMake Nightly Date Stamp
2015-08-02 00:01:07 -04:00
Stephen Kelly
12c3f24827
cmGeneratorExpressionEvaluationFile: Require generator context.
...
Avoid storing a cmMakefile as a member, and evaluate in the context of
a cmLocalGenerator instead.
2015-08-01 13:07:11 +02:00
Stephen Kelly
6c0e9ee276
cmMakefile: Store EvaluationFiles.
...
Relieve the cmGlobalGenerator of this responsibility. Evaluate
the generator expressions in the context of the cmLocalGenerator.
2015-08-01 13:07:11 +02:00
Stephen Kelly
af0de01c6b
cmState: Remove call stack parent tracking.
...
This was added at a time when I thought the cmState would report errors,
but that is not the direction it is going. The ordering of the stack of
scopes is canonical and clients are required to maintain it.
2015-08-01 07:31:08 +02:00
Stephen Kelly
6ae8b30bf4
cmMakefile: Move policy barriers inside cmState scopes.
2015-08-01 07:18:34 +02:00
Stephen Kelly
a5fc17b509
cmMakefile: Re-order policy entries and barriers.
...
Make the barriers surround the entries.
2015-08-01 07:18:34 +02:00
Stephen Kelly
0a01e6c6e7
cmState: Add Snapshot Type accessor.
2015-08-01 07:18:34 +02:00
Kitware Robot
9432b14e91
CMake Nightly Date Stamp
2015-08-01 00:01:06 -04:00
Brad King
d0915bc86f
Merge branch 'upstream-kwsys' into update-kwsys
2015-07-31 09:26:35 -04:00