mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
The config is loaded from json files by qmake, and we define the qmake function `swiftConfig` for checking whether a feature is enabled. This function can be directly used in `buildconfig_gen.cpp.in`, so the trick with C++ comment tokens in variables is not needed.
7 lines
90 B
Plaintext
7 lines
90 B
Plaintext
win32:isEmpty(MINGW_IN_SHELL) {
|
|
TOUCH = copy /y nul >nul
|
|
}
|
|
else {
|
|
TOUCH = touch
|
|
}
|