[CMake] ExternalProject not being configured / custom_command not executed
Kügler, David
david.kuegler at gris.informatik.tu-darmstadt.de
Thu Jan 21 14:33:12 EST 2016
Hello everybody,
I am trying to build a Project (via ExternalProject from a parent project).
More precisely, I want to build the plus Toolkit (plustoolkit.org) and the subprojects using the build "superproject" (i.e. PlusBuild).
It partly seems to work fine, but the ExternalProject PlusApp never actually gets built. Build-rule-files in the CMakeFiles folder are created, but it seems, the "configure"-command is never actually called. Thusly there is never ANY file created in the BINARY_DIR of the PlusApp-project subfolder.
Why do I ask you guys, and not the people from Plus? Because a second subproject (i.e. PlusLib) just works fine, AND if I go ahead and extract the configure-command (i.e. the command-line-command) either from -trace-expand or from the PlusApp-CfgCmd.txt file (replacing ';' with '" "' (space and double quotation) ) it works fine.
So: The command to configure, and the rule-files are created from CMake, but the command is actually not executed and I cannot say why.
This definitely seems to be a hiccup in CMake, but I am at a deadend.
Any Idea, why this is so?
Using CMake 3.4.10 ; Visual Studio 2013 x64 ; Windows 8.1 ; plustoolkit
(I hope this would be the relevant information)
Thank you!
David
--
Dipl.-Ing. David Kügler
Gruppe "Medical Computing"
Fachgebiet Graphisch-Interaktive Systeme
Technische Universität Darmstadt
Gebäude S3|05
Fraunhoferstr. 5
64289 Darmstadt
Tel.: +49 6151 155-672
Fax: +49 6151 155-603
david.kuegler at gris.tu-darmstadt.de
http://www.gris.tu-darmstadt.de/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160121/eed32dc6/attachment-0001.html>
More information about the CMake
mailing list