Stephen Kelly
e35ee02d6e
cmTarget: Fix indentation.
2015-08-25 23:06:33 +02:00
Stephen Kelly
00f2298f07
Reduce uses of cmMakefile::GetGlobalGenerator.
...
Don't assume the cmMakefile has a global generator.
2015-08-25 23:06:33 +02:00
Stephen Kelly
6254ba9578
cmMakefile: Remove Internal class.
...
Move only remaining state to the direct class.
2015-08-25 22:19:57 +02:00
Stephen Kelly
cf0a78dc4c
cmGeneratorTarget: Issue messages through the local generator.
2015-08-25 22:18:39 +02:00
Gregor Jasny
48fe617e66
Fix installation of iOS targets ( #12506 )
...
Since cmTarget::ComputeOutputDir results can be used in CMake code of script
cmake_install.cmake and in Xcode internals, string ${EFFECTIVE_PLATFORM_NAME}
should be used instead of $(EFFECTIVE_PLATFORM_NAME) because it works for both.
Value of CMAKE_CFG_INTDIR can't be used in BUILD_TYPE argument of install
command since it contains $(EFFECTIVE_PLATFORM_NAME) (e.g. equals to
`Release-iphoneos`, `Debug-iphoneos`, etc.).
2015-08-25 21:53:51 +02:00
Gregor Jasny
d2c2319d64
Replace CMAKE_XCODE_EFFECTIVE_PLATFORMS with call to PlatformIsAppleIos
...
Currently the CMAKE_XCODE_EFFECTIVE_PLATFORMS property acts only as
a kind of toggle switch to enable iOS project layout features.
But instead of relying on this undocumented property, better detect
the presence of an iOS SDK directly.
2015-08-25 21:53:51 +02:00
Brad King
cdb9984bff
Merge topic 'consistent-empty'
...
e876963f
Replace '0 == instances.size()' with instances.empty().
44ffb9cd
Replace foo.size() pattern with !foo.empty().
8f89f8b1
Replace 'foo.size() != 0' pattern with !foo.empty().
524610f9
Replace 'foo.size() == 0' pattern with foo.empty().
0e14c7ee
Replace 'foo.size() > 0' pattern with !foo.empty().
2015-08-25 15:13:33 -04:00
Brad King
96dafff97f
Merge topic 'libarchive-modern-apis'
...
e7f93715
Use modern libarchive APIs
2015-08-25 15:13:31 -04:00
Brad King
90eb6de68f
Merge topic 'fphsa-typo'
...
64e527db
FPHSA: fix typo in documentation
2015-08-25 15:13:29 -04:00
Brad King
84aa2519b0
Merge topic 'fix-load-command-doc-classification'
...
1869eacb
Help: Fix classification of load_command in command TOC.
2015-08-25 15:13:27 -04:00
Brad King
d030a46913
Merge topic 'FindJNI-linux-x32'
...
c4d78b8b
FindJNI: Add support for x32 architecture on Linux (#15710 )
2015-08-25 15:13:25 -04:00
Brad King
9aeee9c608
Merge topic 'cmState-prop_dir'
...
f4150bd8
cmState: Move directory Properties from cmMakefile.
01787547
cmMakefile: Inline GetDefinitions into GetProperty.
2015-08-25 15:13:23 -04:00
Stephen Kelly
637c56b4e0
cmGlobalGenerator: Implement FillProjectMap in terms of cmState.
2015-08-25 19:57:44 +02:00
Stephen Kelly
b3f2299e06
cmState: Move ProjectName from cmMakefile.
2015-08-25 19:57:42 +02:00
Stephen Kelly
6ce940ac97
cmMakefile: Use std::string in ProjectName API.
2015-08-25 19:55:34 +02:00
Stephen Kelly
e8c0341d86
cmMakefile: Out-of-line GetProjectName.
2015-08-25 19:55:32 +02:00
Marc Chevrier
290b0f94b5
FindJNI: Add support for SuSE platform and IBM Java SDK
2015-08-25 09:47:05 -04:00
Kitware Robot
a8f8848241
CMake Nightly Date Stamp
2015-08-25 00:01:07 -04:00
James Johnston
1869eacb3d
Help: Fix classification of load_command in command TOC.
...
In CMake 3.0, the load_command command was deprecated. However, the
position of load_command in the help TOC was not fixed at that time:
it was still listed as a "Normal Command".
2015-08-24 23:09:31 -04:00
Gregor Jasny
67f60958b6
Darwin: Add support for tbd library stub files
...
Starting with Xcode 7 the OSX and iOS SDKs contain only stub
files for dynamic system libraries. These stub files contain
some meta data and a list of exported sysbols in plain text.
They are handled by the toolchain like regular dylibs.
2015-08-24 22:29:33 +02:00
Stephen Kelly
e876963fc9
Replace '0 == instances.size()' with instances.empty().
...
This is not a pattern.
2015-08-24 20:47:18 +02:00
Stephen Kelly
44ffb9cdb4
Replace foo.size() pattern with !foo.empty().
2015-08-24 20:47:18 +02:00
Stephen Kelly
8f89f8b1e9
Replace 'foo.size() != 0' pattern with !foo.empty().
2015-08-24 20:47:17 +02:00
Stephen Kelly
524610f967
Replace 'foo.size() == 0' pattern with foo.empty().
2015-08-24 20:47:17 +02:00
Stephen Kelly
0e14c7ee63
Replace 'foo.size() > 0' pattern with !foo.empty().
2015-08-24 20:47:17 +02:00
Brad King
ddb7f280ce
Merge topic 'drop-cmsys-std-layer'
...
04e708d8
Remove use of include <cmsys/IOStream.hxx> from KWSys
e8585f45
Remove use of include <cmsys/stl/*> and cmsys_stl::*
6db713c0
Remove use of include <cmsys/ios/*> and cmsys_ios::*
2015-08-24 14:28:43 -04:00
Stephen Kelly
867b5be8b8
cmLocalGenerator: Remove unused Children member.
2015-08-24 20:05:38 +02:00
Stephen Kelly
6c832219ea
cmLocalGenerator: Implement child traversal in terms of cmState.
2015-08-24 20:05:37 +02:00
Stephen Kelly
3fcf383763
Makefiles: Remove valueless cast.
2015-08-24 20:05:37 +02:00
Stephen Kelly
223f4a662f
cmLocalGenerator: Simplify condition.
2015-08-24 20:05:37 +02:00
Stephen Kelly
ae026f5458
cmState: Store Children states in parent state.
2015-08-24 20:05:37 +02:00
Stephen Kelly
e3078aa153
cmLocalGenerator: Implement GetFeature in terms of cmState.
2015-08-24 20:04:37 +02:00
Stephen Kelly
7441fde34a
cmLocalGenerator: Convert GetFeature recursion to loop.
2015-08-24 20:04:37 +02:00
Stephen Kelly
ad0b0089ab
cmLocalGenerator: Simplify GetFeature implementation.
2015-08-24 20:04:37 +02:00
Stephen Kelly
314c9ae33b
cmLocalGenerator: Make GetFeature tail-recursive.
2015-08-24 20:04:37 +02:00
Stephen Kelly
7fbc56ac40
cmGlobalUnixMakefileGenerator3: Implement progress in terms of cmState.
2015-08-24 20:03:30 +02:00
Stephen Kelly
65c434e1b0
cmGlobalUnixMakefileGenerator3: Inline an IsExcluded call.
2015-08-24 20:03:29 +02:00
Stephen Kelly
be56feb618
cmGlobalGenerator: Extract new IsExcluded overload.
2015-08-24 20:03:29 +02:00
Stephen Kelly
45f5200396
cmGlobalGenerator: Implement IsExcluded in terms of cmState::Snapshot.
2015-08-24 20:03:29 +02:00
Stephen Kelly
af9fc27753
cmState: Make Snapshot EqualityComparable.
2015-08-24 20:03:29 +02:00
Stephen Kelly
9b44018d52
cmGlobalGenerator: Convert IsExcluded to loop.
2015-08-24 20:03:29 +02:00
Stephen Kelly
5f05b56284
cmGlobalGenerator: Refactor IsExcluded.
...
Make it easier to convert it to a loop.
2015-08-24 20:03:29 +02:00
Stephen Kelly
95925a60fc
cmGlobalGenerator: Don't use else after return.
2015-08-24 20:03:29 +02:00
Stephen Kelly
f4150bd88d
cmState: Move directory Properties from cmMakefile.
2015-08-24 20:02:21 +02:00
Stephen Kelly
0178754725
cmMakefile: Inline GetDefinitions into GetProperty.
...
It will soon move to cmState.
2015-08-24 19:48:45 +02:00
Rolf Eike Beer
64e527dbe3
FPHSA: fix typo in documentation
2015-08-24 18:22:13 +02:00
Thorsten Glaser
c4d78b8bc0
FindJNI: Add support for x32 architecture on Linux ( #15710 )
...
This architecture uses an amd64 kernel but x32 userland.
Use CMAKE_LIBRARY_ARCHITECTURE to distinguish it for now.
2015-08-24 10:54:13 -04:00
Páder Rezső
e7f937155f
Use modern libarchive APIs
...
Replace use of deprecated libarchive3 functions with their modern
equivalents.
2015-08-24 10:40:04 -04:00
Brad King
2370a99400
Merge topic 'cmState-definitions'
...
bff27391
cmState: Host variable definitions.
6954c893
cmState: Add a VariableScope snapshot type.
1fc645bd
cmState: Add a Base snapshot type.
0f070dd3
cmMakefile: Decouple the container of cmDefinitions from scoping logic.
25e04ddf
cmDefinitions: Implement in terms of cmLinkedTree.
4bbe261c
cmMakefile: Extract InitializeVarScope method.
2015-08-24 10:07:04 -04:00
Brad King
58043880b9
Merge topic 'ios-app-bundle-layout'
...
744e6c49
Fix iOS Bundle layouts (#15669 )
2015-08-24 10:07:02 -04:00