Commit Graph

18 Commits

Author SHA1 Message Date
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04 17:16:11 -05:00
Dylan Baker f6672c7a19 use real pathlib module
We added the _pathlib module to work around defeciencies in python 3.5's
implementation, since we now rely on 3.6 lets drop this
2020-11-20 15:08:40 -08:00
Daniel Mensinger 7e58f33376
cmake: Add cross compilation support 2020-10-13 17:04:19 +02:00
Daniel Mensinger 1dfaccfd91 pathlib: Fix resolve() by overriding it in Python 3.5 2020-10-04 10:45:48 +02:00
Daniel Mensinger 77b5c82d07 cmake: switch to pathlib (fixes #7322) 2020-10-04 10:45:48 +02:00
Daniel Mensinger 6dfdb407f0
typing: fully annotate cmake.client 2020-09-27 11:41:10 +02:00
Daniel Mensinger 09b53c534f types: import typing as T (fixes #6333) 2020-01-08 15:28:17 +01:00
Daniel Mensinger b2c89e6f87
cmake: Move CMake API classes to common 2019-10-20 12:04:15 +02:00
Daniel Mensinger 6083cfa6c8
cmake: Moved finding and running CMake out of dependency 2019-06-12 13:58:19 +02:00
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.
2019-06-09 13:13:25 -04:00
Daniel Mensinger 9a9ea1434a
cmake: Fix cygwin failures 2019-06-06 18:27:06 +02:00
Daniel Mensinger af6448ced5
cmake: Make flake8 happy 2019-06-06 18:27:05 +02:00
Daniel Mensinger 1f3a57598e
cmake: general windows and old CMake fixes 2019-06-06 18:27:04 +02:00
Daniel Mensinger 5089eb356b
cmake: extract the codemodel 2019-06-06 18:27:01 +02:00
Daniel Mensinger 2039cb708b
cmake: get CMake inputs 2019-06-06 18:27:01 +02:00
Daniel Mensinger 9aae603d1b
cmake: Handle a few more stub messages 2019-06-06 18:27:01 +02:00
Daniel Mensinger ef18afc48b
cmake: configure works 2019-06-06 18:27:01 +02:00
Daniel Mensinger 8d3bd6eea8
cmake: Server handshake 2019-06-06 18:27:01 +02:00