summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ipo-variable'Brad King2017-03-031-0/+1
|\ | | | | | | | | 6b6191d8 Add variable 'CMAKE_INTERPROCEDURAL_OPTIMIZATION'
| * Add variable 'CMAKE_INTERPROCEDURAL_OPTIMIZATION'Ruslan Baratov2017-03-021-0/+1
| |
* | Merge topic 'implicit-dir-symlinks'Brad King2017-03-032-7/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | 69528fe6 Tests: Add case for RPATH exclusion of symlinks to implicit directories f3102ca8 Merge branch 'backport-implicit-dir-symlinks' into implicit-dir-symlinks c3fb650c cmOrderDirectories: Consider symlinks when checking implicit directories b1a37362 cmOrderDirectories: Factor out implicit directory check
| * \ Merge branch 'backport-implicit-dir-symlinks' into implicit-dir-symlinksBrad King2017-03-022-7/+17
| |\ \
| | * | cmOrderDirectories: Consider symlinks when checking implicit directoriesBrad King2017-03-021-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When checking whether a directory is "implicit" (e.g. implicit link directory or implicit rpath directory), resolve the real path of both sides of the comparison. Otherwise we will not recognize paths like `/usr/lib32` as implicit when `/usr/lib` is implicit and `lib32` is actually a symlink to `lib`. This can lead to addition of unnecessary entries to the RPATH of a binary, for example. Fixes: #16682
| | * | cmOrderDirectories: Factor out implicit directory checkBrad King2017-03-012-6/+11
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-03-031-1/+1
| |_|/ |/| |
* | | Merge topic 'autogen_uic_paths'Brad King2017-03-024-258/+292
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3bf28f5e Autogen: New short InfoGet functions 154d8339 Autogen: Parse enabled feature configuration only ac77fa35 Autogen: Add missing return on error 662ad240 Autogen: Rename and merge moc related methods 5adf22bb Autogen: Add AUTOUIC_SEARCH_PATHS release notes 36fa535d Autogen: Add AUTOUIC_SEARCH_PATHS documentation 6d7c02db Autogen: Add AUTOUIC_SEARCH_PATHS test 1cdf7c1b Autogen: Add AUTOUIC_SEARCH_PATHS support 110c1bf4 Autogen: Add subDirPrefix function db431ecf Autogen: Merge FindInIncludeDirectories into FindIncludeFile
| * | | Autogen: New short InfoGet functionsSebastian Holtermann2017-03-022-71/+61
| | | |
| * | | Autogen: Parse enabled feature configuration onlySebastian Holtermann2017-03-021-108/+117
| | | |
| * | | Autogen: Add missing return on errorSebastian Holtermann2017-03-021-0/+1
| | | |
| * | | Autogen: Rename and merge moc related methodsSebastian Holtermann2017-03-022-41/+23
| | | |
| * | | Autogen: Add AUTOUIC_SEARCH_PATHS supportSebastian Holtermann2017-03-024-49/+106
| | | | | | | | | | | | | | | | Closes #15227
| * | | Autogen: Add subDirPrefix functionSebastian Holtermann2017-03-022-14/+16
| | | |
| * | | Autogen: Merge FindInIncludeDirectories into FindIncludeFileSebastian Holtermann2017-03-012-29/+22
| | | |
* | | | Merge topic 'find_library-custom-lib-suffix'Brad King2017-03-021-13/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 503f25d4 find_library: Allow custom lib suffix be used as find path
| * | | | find_library: Allow custom lib suffix be used as find pathChristian Schmidbauer2017-03-011-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new `CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable to allow use of a custom suffix on `lib` directory names. This is a more general option than that added by commit v3.7.0-rc1~504^2 (Teach find_library and find_package to search lib32 paths, 2016-06-10). It allows the find path to be more deterministic on custom setups. See discussion in #10287 and #15994.
* | | | | Merge topic 'csproj_add_free_source_tags'Brad King2017-03-022-47/+47
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 506207f9 VS: add test for VS_CSHARP_* source file property a202749c VS: add CSharpUtilities module 9588d0a2 VS: add VS_CSHARP_<tagname> sourcefile property
| * | | | | VS: add VS_CSHARP_<tagname> sourcefile propertyMichael Stürmer2017-03-012-47/+47
| | |_|/ / | |/| | |
* | | | | Merge topic 'xcode-enhance-schemes'Brad King2017-03-026-24/+92
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54a48c67 Xcode: Use proper buildable name for schema f4977d05 Xcode: Select executable target for execution in schema 7202db5d Xcode: Fix schema container location calculation 59950821 Xcode: Do not autocreate schemes 6a54d28e Xcode: Use proper indentation for schemes
| * | | | | Xcode: Use proper buildable name for schemaGregor Jasny2017-02-282-2/+4
| | | | | |
| * | | | | Xcode: Select executable target for execution in schemaGregor Jasny2017-02-282-2/+24
| | | | | |
| * | | | | Xcode: Fix schema container location calculationGregor Jasny2017-02-284-19/+18
| | | | | |
| * | | | | Xcode: Do not autocreate schemesGregor Jasny2017-02-282-0/+32
| | | | | |
| * | | | | Xcode: Use proper indentation for schemesGregor Jasny2017-02-283-1/+14
| | |/ / / | |/| | |
* | | | | CMake Nightly Date StampKitware Robot2017-03-021-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'export-executable-symbols'Brad King2017-03-011-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 85e08370 bindexplib: Always export executable symbols, even they are also readable
| * | | | bindexplib: Always export executable symbols, even they are also readableZsolt Parragi2017-02-281-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously bindexplib discarded read-only non-function symbols even in executable/code sections, but in some specific cases they could still mark functions. An example is provided by nop.asm in the AuoExportDll test, which exports a function only marked by a label. This symbol can be used from C/C++ code, but without this change it would result in an unresolved external symbol when built as a DLL on Windows.
* | | | Merge topic 'find-libarch-not-symlink'Brad King2017-03-011-16/+48
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 6f5aede7 find_library: Skip 'lib => lib<arch>' searches if one symlinks the other e67963ed cmFindLibraryCommand: Refactor AddArchitecturePath logic
| * | | | find_library: Skip 'lib => lib<arch>' searches if one symlinks the otherBrad King2017-02-281-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `FIND_LIBRARY_USE_LIB<arch>_PATHS` global properties ask `find_library` to look in `lib<arch>` directories automatically before corresponding `lib` directories. However, if `lib<arch>` is just a symlink to `lib` (or vice-versa) then we should skip adding the `lib<arch>` path. Such symlinks typically only exist to satisfy software that expects the `lib<arch>` path to be available. Fixes: #16687
| * | | | cmFindLibraryCommand: Refactor AddArchitecturePath logicBrad King2017-02-281-16/+26
| | |_|/ | |/| | | | | | | | | | | | | | Use boolean variables to save results and rename variables to more closely represent their roles.
* | | | CMake Nightly Date StampKitware Robot2017-03-011-1/+1
| |/ / |/| |
* | | Merge topic '16607-error-out-on-non-seekable-input-files'Brad King2017-02-283-2/+14
|\ \ \ | | | | | | | | | | | | | | | | ded616bd cmListFileLexer: bail out on seek-errors
| * | | cmListFileLexer: bail out on seek-errorsGregor Jasny2017-02-273-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If we are given a FIFO, for example, we cannot seek back after trying to read a Byte-Order-Mark. Closes: #16607
* | | | Merge topic 'cache-xaml-resx-headers'Brad King2017-02-282-7/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 73a6d456 VS: Cache the list of xaml and resx headers
| * | | | VS: Cache the list of xaml and resx headersDmitry Kochkin2017-02-272-7/+23
| | | | | | | | | | | | | | | | | | | | Speed up VS project generation with many such headers.
* | | | | Merge topic 'cmake-xcode-schemes'Brad King2017-02-285-0/+284
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7238a052 Xcode: Add documentation for schema generator ffb8817b Xcode: Write shared schemes based on the default files generated by Xcode
| * | | | | Xcode: Write shared schemes based on the default files generated by XcodeGusts Kaksis2017-02-285-0/+284
| | |/ / / | |/| | | | | | | | | | | | | Issue: #15441
* | | | | Merge topic 'cmake-host-system-name'Brad King2017-02-281-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c1aaf8a6 Fix CMAKE_HOST_SYSTEM_NAME on SunOS
| * | | | | Fix CMAKE_HOST_SYSTEM_NAME on SunOSBrad King2017-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 0bbd993f (Make CMAKE_HOST_SYSTEM_NAME available in scripting context, 2016-12-26) we added a call to `uname` that checks for a zero return value. However, on Solaris the `uname(2)` manual [1] says that on success a non-negative value is returned. Fix our return code check so that we detect the `SunOS` name correctly. [1] https://docs.oracle.com/cd/E53394_01/html/E54765/uname-2.html
* | | | | | CMake Nightly Date StampKitware Robot2017-02-281-1/+1
| |_|/ / / |/| | | |
* | | | | Merge topic 'object-library-compile-pdb'Brad King2017-02-271-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | feff52d4 Fix COMPILE_PDB_NAME when used on an OBJECT library
| * | | | | Fix COMPILE_PDB_NAME when used on an OBJECT libraryBrad King2017-02-241-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `COMPILE_PDB_NAME` is used without `COMPILE_PDB_OUTPUT_DIRECTORY` we cannot fall back on the link `PDB_OUTPUT_DIRECTORY` for an object library because it has no link step. Fixes: #16674
* | | | | Merge topic 'ninja-no-full-path'Brad King2017-02-271-4/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 666ad1df Revert "Ninja: Use full path for all source files"
| * | | | | Revert "Ninja: Use full path for all source files"Brad King2017-02-241-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit v3.7.0-rc1~275^2 (Ninja: Use full path for all source files, 2016-08-05). Unfortunately using absolute paths can cause incorrect rebuilds due to ninja limitations. The ninja manual [1] explains: > ... using absolute paths, your depfile may result in a mixture of > relative and absolute paths. Paths used by other build rules need > to match exactly. Passing an absolute path to a source file to the compiler while using a relative path in the ninja build manifest can cause such mixture and lead to incorrect rebuilds. Simply revert the change for now. Note that there was a follow-up to the original change in commit v3.7.0-rc2~10^2 (Ninja: Fix RC language depfile generation with cmcldeps, 2016-10-13). We don't need to revert that because that change made the relevant code cleverly adapt to whatever variable we use to reference the source file. [1] https://ninja-build.org/manual.html#_deps Fixes: #16675 Issue: #13894
* | | | | | CMake Nightly Date StampKitware Robot2017-02-271-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-02-261-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-02-251-1/+1
| | | | | |
* | | | | | Merge topic '16615-xcode-object-libraries-depends'Brad King2017-02-243-49/+69
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 624021a0 Add test for object library dependencies 5da9266a Xcode: Always track object library dependencies via hacky Makefile e80ac953 Xcode: Record dependency information also for object libraries 9293e57d Xcode: Collect dummy rules during iteration and emit afterwards 33a1d727 Makefile: Allow adding post-build rules to object libraries
| * | | | | | Xcode: Always track object library dependencies via hacky MakefileGregor Jasny2017-02-221-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always use the dependency tracker Makefile to ensure targets that depend on object libraries are up-to-date. For all other target types we use the hack only for Xcode < 5. Fixes: #16615