Daniel Mensinger
5bd21a96b8
cmake: Fix dependencies with try_compile ( closes #5605 )
5 years ago
Daniel Mensinger
8320217210
cmake: Also detect Windows paths
5 years ago
Daniel Mensinger
71a5ff718a
cmake: Skip ARGS key in COMMAND
5 years ago
Daniel Mensinger
5806490219
cmake: Added support for custom_target generation
5 years ago
Daniel Mensinger
98813c1d22
cmake: Added custom target wrapper script
5 years ago
Daniel Mensinger
3fb0e917aa
cmake: Parse trace when configuring CMake
5 years ago
Daniel Mensinger
b07d3804fc
cmake: added suport for add_custom_command in the trace parser
5 years ago
Daniel Mensinger
c78c9ee65e
cmake: Added permissive support to the trace parser
5 years ago
Daniel Mensinger
b1cf0fd380
cmake: Move parsing the CMake trace into the CMake module
5 years ago
Daniel Mensinger
6083cfa6c8
cmake: Moved finding and running CMake out of dependency
5 years ago
John Ericson
07777e15d4
Purge `is_cross` and friends without changing user interfaces
...
In most cases instead pass `for_machine`, the name of the relevant
machines (what compilers target, what targets run on, etc). This allows
us to use the cross code path in the native case, deduplicating the
code.
As one can see, environment got bigger as more information is kept
structured there, while ninjabackend got a smaller. Overall a few amount
of lines were added, but the hope is what's added is a lot simpler than
what's removed.
6 years ago
Daniel Mensinger
69005d6b1d
cmake: Minor fixes to handle some CMake specific behavior
...
Now, all source files are ignored that are not part of the
language of the target. This is also what CMake does.
Additionally it is now supported to build source files that
are generated inside the build directory.
6 years ago
Daniel Mensinger
9a9ea1434a
cmake: Fix cygwin failures
6 years ago
Daniel Mensinger
e02c101575
cmake: moved subprojects into the CMake module
6 years ago
Daniel Mensinger
af6448ced5
cmake: Make flake8 happy
6 years ago
Daniel Mensinger
35936316eb
cmake: rebase fixes
6 years ago
Daniel Mensinger
9b22147dcb
cmake: set the linker for clang-cl for CMake
6 years ago
Daniel Mensinger
29a26c9dbd
cmake: blacklist some `cl` compiler and linker flags
6 years ago
Daniel Mensinger
1f3a57598e
cmake: general windows and old CMake fixes
6 years ago
Daniel Mensinger
5c603a900b
cmake: Some minor style changes
6 years ago
Daniel Mensinger
3d7c50d109
cmake: Added option for additional CMake args
6 years ago
Daniel Mensinger
d114d8446e
cmake: Minor fixes
6 years ago
Daniel Mensinger
1041c71eb0
cmake: support object libraries
6 years ago
Daniel Mensinger
316f4f4948
cmake: Always add the CMake build dir to the include dirs
6 years ago
Daniel Mensinger
2b44b4be9f
cmake: Fixed install prefix
6 years ago
Daniel Mensinger
be6a9191e1
cmake: First working version
6 years ago
Daniel Mensinger
e55236bde4
cmake: basic AST generation
6 years ago
Daniel Mensinger
5089eb356b
cmake: extract the codemodel
6 years ago
Daniel Mensinger
2039cb708b
cmake: get CMake inputs
6 years ago
Daniel Mensinger
9aae603d1b
cmake: Handle a few more stub messages
6 years ago
Daniel Mensinger
ef18afc48b
cmake: configure works
6 years ago
Daniel Mensinger
8d3bd6eea8
cmake: Server handshake
6 years ago