summaryrefslogtreecommitdiffstats
path: root/examples/sql/books/CMakeLists.txt
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@qt.io>2019-06-03 13:35:41 +0200
committerJędrzej Nowacki <jedrzej.nowacki@qt.io>2019-06-12 11:16:57 +0000
commit82840d2660202c6d8f3c53ad1d620667901cb954 (patch)
tree63b0fe40bed033678d6b357e4109c043b147f368 /examples/sql/books/CMakeLists.txt
parentce11410caa6b2ba94a88a1368b379df96839f865 (diff)
Implement command prefix
The current CI magically add prefix to every executed command if target compiler is MSVC. The prefix just calls vcvarsall.bat. The script has to be called for every command, because of the CI agent runs every command as a subprocess. It means that script sourced environment is not passed to subsequent commands, therefore all changes are lost. The prefix, as a concept, has known performance issues (COIN-253), so in long term it would be nice to move to another solution. CustomModule doesn't support prefix. Therefore the proposed approach moves the ugliness from CI code to the yaml configuration file. It has two advantages; nothing needs to be implemented on the CI level and hopefully someone in future will clean it up as the problem is more visible and publicly fixable. Change-Id: Ice3cff89e3a59b2a57e675b7892fde0d04433ba8 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'examples/sql/books/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions