Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.10.0-beta1
-
None
-
Windows 10
Visual Studio 2017 with toolset for 2015
CMake 3.14.4
Ninja 1.9.0
Description
The new beta version seems to have problems to translate the "current executable" into the proper string to be given to CMake.
Status:
- The project is properly configured: using either the terminal or QtCreator.
- The list of targets is properly populated in QtCreator/Projects/Build Settings/Build Steps/Targets
- If I choose a specific target and I compile, it works as expected:
Build: cmake.exe --build . --target api # After clicking in build 15:51:54: Starting: "C:\Program Files\CMake\bin\cmake.exe" --build . --target api ... OK
- If I choose "Current executable", this happens:
Build: cmake.exe --build . --target "<Current executable>" 15:53:59: Starting: "C:\Program Files\CMake\bin\cmake.exe" --build . --target C:/dev/explore/export_api/tests///::///testExport ninja: error: unknown target 'C:/dev/explore/export_api/tests/::/testExport'
Note that this was working properly in QtCreator 4.9.