[CMake] 3.14.1 Issue with external project?
J Decker
d3ck0r at gmail.com
Sun Apr 7 06:32:33 EDT 2019
Under linux, I recently updated everything, and now have cmake 3.14.1.
It's failing to build a project which has external projects with external
projects itself...
I'm not sure what a simple case is that fails.
The previous version that worked was 3.13.4 (3.12.4 also)
On Windows I was using cmake version 3.10.0-rc3 without issue, I grabbed
the latest 3.14.1 zip and swapped to that, and it's having similar issues.
Linux defaulted initially to ninja; but I overrode that and used 'Unix
Makefiles' as a generator and the same issue happened.
The project has an external project from a git repository, which it
downloads, updates, configures, and builds; that project also has external
projects (ppc is one of them) Well here; this log isn't huge.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/d3x0r/work/javascript/sack-gui/build/sack-src/src/sack-build
[3/5] Performing build step for 'sack'
[1/3] Performing build step for 'ppc_portable'
ninja: no work to do.
[2/3] Performing install step for 'ppc_portable'
[0/1] Install the project...
-- Install configuration: "Debug"
-- Up-to-date: /home/d3x0r/work/javascript/sack-gui/build/sack-Debug/bin/ppc
[3/3] Completed 'ppc_portable'
[4/5] Performing install step for 'sack'
[1/4] Performing build step for 'ppc_portable'
ninja: no work to do.
[2/4] Performing install step for 'ppc_portable'
[0/1] Install the project...
-- Install configuration: "Debug"
-- Up-to-date: /home/d3x0r/work/javascript/sack-gui/build/sack-Debug/bin/ppc
[3/4] Completed 'ppc_portable'
[3/4] Install the project...
-- Install configuration: "Debug"
[5/5] Completed 'sack'
-----------
And then it ends, and doesn't build either the second external project, or
the main project itself which depends on the external project
-------------
Windows is somehow getting up to installing sack, ppc like above, but then
fails with 'project file does not exist' and yet a directory of that name
shows it does exist.....
Performing install step for 'sack' Microsoft (R) Build Engine version
14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
[M:\javascript\sack-gui\build\sack.vcxproj]
Switch: install
ERR! OMG Process terminated: 1
M:\javascript\sack-gui>dir M:\javascript\sack-gui\build\sack.vcxproj
Volume in drive M is Work3
Volume Serial Number is 5EC6-2ABD
Directory of M:\javascript\sack-gui\build
----------------
This branch of this repository
https://github.com/d3x0r/sack.vfs/tree/sack-gui
mkdir build
cd build
cmake -DMAKE_GUI=1 -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
and it ends with building sack and nothing else.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190407/d497587a/attachment.html>
More information about the CMake
mailing list