summaryrefslogtreecommitdiffstats
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'libuv-bootstrap'Brad King2017-09-181-1/+113
|\ | | | | | | | | | | | | | | 714ce728 bootstrap: Make libuv available during bootstrap 6a2d967d bootstrap: Require compiler mode aware of C99 on Solaris Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1131
| * bootstrap: Make libuv available during bootstrapBrad King2017-09-171-1/+109
| | | | | | | | | | | | | | On UNIX, build only the parts of libuv we need for the filesystem, process, and poll abstractions using the POSIX poll() backend. This avoids many platform-specific conditions. On Windows, build all of libuv; there are no conditional alternatives anyway.
| * bootstrap: Require compiler mode aware of C99 on SolarisBrad King2017-09-171-0/+4
| | | | | | | | | | On Solaris some system headers included in C with `-D_XOPEN_SOURCE=600` require C99 support by the compiler.
* | Drop now-unused definition of CM_OVERRIDEBrad King2017-09-151-1/+0
| |
* | Merge topic 'bootstrap-twice-in-source'Brad King2017-09-141-0/+6
|\ \ | |/ |/| | | | | | | | | a3deae71 bootstrap: Fix running multiple times in-source Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1258
| * bootstrap: Fix running multiple times in-sourceBrad King2017-09-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.9.0-rc1~281^2 (Use quotes for non-system includes, 2017-04-11) we include `cmConfigure.h` via `""` instead of `<>`. This breaks the `bootstrap` script when run more than once in an in-source build. In that case `cmConfigure.h` is generated next to the source files that include it, so `""`-style includes prevent the `Bootstrap.cmk/cmConfigure.h` file from being included during bootstrap. Fix this by teaching the bootstrap script to remove any `cmConfigure.h` that may have been generated by an earlier run in an in-source build. Fixes: #17082
* | bootstrap: Require compiler mode aware of C++11Brad King2017-08-291-2/+6
| | | | | | | | | | | | | | Some compilers have enough features enabled in their default modes to pass our simple C++11 unique_ptr check but do not enable enough to build CMake. Poison this case so that we choose one of the explicit `-std=` options for such compilers.
* | server: always enable serverDaniel Pfeifer2017-08-261-11/+0
| |
* | Use C++11 nullptrDaniel Pfeifer2017-08-241-1/+0
| |
* | Merge topic 'bootstrap-target-commands'Brad King2017-08-211-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | ef978c1d CursesDialog: use target_include_directories for cmForm 7814d750 bootstrap: make target_* commands available Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1158
| * | bootstrap: make target_* commands availableDaniel Pfeifer2017-08-181-0/+6
| | |
* | | Merge topic 'bootstrap'Brad King2017-08-211-56/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d12837af bootstrap: Require a standard C compiler dc0befb6 bootstrap: Remove check that identifies GNU compiler 6fdcf02a bootstrap: remove dead branches Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1142
| * | | bootstrap: Require a standard C compilerDaniel Pfeifer2017-08-161-21/+12
| | | |
| * | | bootstrap: Remove check that identifies GNU compilerDaniel Pfeifer2017-08-151-25/+0
| | | | | | | | | | | | | | | | Bootstrapping no longer depends on this information.
| * | | bootstrap: remove dead branchesDaniel Pfeifer2017-08-151-10/+0
| |/ / | | | | | | | | | Remove code that uses cmake_cxx_compiler_is_gnu before it is set.
* | | Merge topic 'bootstrap-grep-solaris'Brad King2017-08-211-10/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e488c7f9 bootstrap: Restore output redirection instead of "grep -q" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1144
| * | | bootstrap: Restore output redirection instead of "grep -q"Brad King2017-08-161-10/+10
| |/ / | | | | | | | | | | | | This reverts commit 567bac890c (bootstrap: use "grep -q" instead of output redirection, 2017-06-07). On Solaris `grep -q` does not exist.
* | | Require C++11 to build CMake itselfBrad King2017-08-161-32/+19
|/ / | | | | | | | | | | | | | | | | CMake can now compile as C++11 on all supported platforms. Check that std::unique_ptr is available and fail early if missing. This will allow us to use C++11 more broadly in CMake's implementation (previously it was restricted to the serve mode implementation). Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
* | HP-UX: Drop support for building CMake on HP-UXBrad King2017-08-071-54/+5
| | | | | | | | | | | | | | | | CMake will soon require both C++11 and libuv to build. Neither of these works on HP-UX, so unfortunately we need to drop support for the platform until someone can get them working. Issue: #17137
* | include_guard: implement new commandPavel Solodovnikov2017-06-221-0/+1
| |
* | bootstrap: remove leftover empty variable dereferenceRolf Eike Beer2017-06-081-1/+1
| | | | | | | | | | This was missed in 9c0d1e7531edbebc7943d5b981353b17631ed632 when the for loop that used this as loop variable was removed.
* | bootstrap: implement cmake_extract_standard_flags() without loopRolf Eike Beer2017-06-071-5/+2
| | | | | | | | Pass all files to sed at once, and don't even change the directory for this.
* | bootstrap: use "grep -q" instead of output redirectionRolf Eike Beer2017-06-071-10/+10
| |
* | bootstrap: implement cmake_toupper() using trRolf Eike Beer2017-06-071-1/+1
| |
* | bootstrap: don't use 'cat x | sed', let sed open the file insteadRolf Eike Beer2017-06-071-18/+15
|/
* Provide and use CM_FALLTHROUGHDaniel Pfeifer2017-06-031-0/+1
|
* Merge topic 'bootstrap-std-flags'Brad King2017-06-011-28/+37
|\ | | | | | | | | | | | | 6181a9e0 bootstrap: prefer to use standard flags for C and CXX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !842
| * bootstrap: prefer to use standard flags for C and CXXDaniel Pfeifer2017-05-311-28/+37
| |
* | bootstrap: remove explicit support for Tru64 UNIXDaniel Pfeifer2017-05-301-50/+0
| |
* | bootstrap: remove support for IRIXDaniel Pfeifer2017-05-281-28/+0
|/
* bootstrap: prefer Clang over GNU on DarwinDaniel Pfeifer2017-05-221-1/+1
|
* Merge topic 'mingw-w64-compile'Brad King2017-05-161-0/+1
|\ | | | | | | | | | | | | | | 9557b403 cmFileCommand: Fix build on mingw-w64 845f5e3c bootstrap: fix build on mingw-w64 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !837
| * bootstrap: fix build on mingw-w64Aleksey Chernov2017-05-151-0/+1
| | | | | | | | Define the default code page for EncodingCXX too.
* | Merge topic 'command-name'Brad King2017-05-121-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1218f59 cmCommand: remove unused methods from interface and all implementations 4ba25a82 cmState: separate builtin and scripted commands a44dab46 cmState: introduce method for adding scripted commands c734c850 CTest: use new methods for builtin commands bd14e464 cmCommands: use new methods for builtin commands 58708405 cmState: introduce methods for adding builtin commands a890ca2f cmakemain: use script role for -P Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !829
| * | cmState: introduce methods for adding builtin commandsDaniel Pfeifer2017-05-111-0/+1
| | |
* | | bootstrap: fix Bad substitutionDaniel Pfeifer2017-05-111-13/+24
|/ /
* | bootstrap: Remove leftovers from cmBootstrapCommandsDaniel Pfeifer2017-05-091-2/+0
| |
* | LexerParser: move to custom directoryDaniel Pfeifer2017-04-281-7/+18
| |
* | cmConfigure: provide macros CM_EQ_DELETE and CM_DISABLE_COPYDaniel Pfeifer2017-04-221-0/+2
| |
* | cmWorkingDirectory: add class for changing the workdirBen Boeckel2017-03-061-0/+1
|/
* Combine all unexpected commands to a single classDaniel Pfeifer2016-11-291-6/+1
|
* Add cmProcessOutput class to be used for decoding text dataDāvis Mosāns2016-11-141-1/+4
| | | | | This allows to decode text data we receive from external process which uses external encoding to our internal encoding.
* Add option to build CMake against a system librhashBrad King2016-11-101-2/+4
| | | | Create a CMAKE_USE_SYSTEM_LIBRHASH option.
* cmCommand: implement functions in cxx fileDaniel Pfeifer2016-10-211-0/+1
|
* bootstrap: Sort source files lexicographicallyDaniel Pfeifer2016-10-211-90/+90
|
* Create all commands from a single functionDaniel Pfeifer2016-10-211-3/+1
|
* Separate compilation for commands included in cmBootstrapCommands2Daniel Pfeifer2016-10-211-6/+44
|
* Separate compilation for commands included in cmBootstrapCommands1Daniel Pfeifer2016-10-211-4/+41
|
* cmState: Split auxiliary classes into separate filesStephen Kelly2016-10-191-0/+2
| | | | | | | Port dependents to the new locations as needed. Leave behind a cmState.h include in cmListFileCache to reduce noise. It is removed in a following commit.
* Merge topic 'extract-computed-target-properties'Brad King2016-10-171-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cef59bb8 cmTarget: Implement GetProperty in terms of cmState::Snapshot 0d57b07a cmTarget: Group code for checking written properties together c3fb0d95 cmTarget: Move sanity checks and computed property access to callers fa9dbc56 cmGeneratorTarget: Implement cmTargetPropertyComputer interface 848ae2a6 cmTargetPropertyComputer: Template some methods on the Target a0a720e6 cm{,Generator}Target: Add global generator accessors 637e3f3e cmTargetPropertyComputer: Unify whitelist handling from cmTarget 05251e6d cmTargetPropertyComputer: Move whitelist check from cmTarget fbf1721c cmTargetPropertyComputer: Extract into new files 390a7d86 cmTargetPropertyComputer: Implement GetProperty without cmMakefile e32a6bdd cmListFileBacktrace: Add a method to retrieve the Bottom of a snapshot 7863fba1 cmTarget: Extract GetLocation method 8096682e cmTarget: Extract GetSources method 7d57c1a2 cmTarget: Extract location computation methods a55cac4b cmTarget: Split property computation into separate class 705fcf52 cmTarget: Move IMPORTED check to callers ...