On 3/31/20 3:37 PM, Tobias Hunger wrote:
Hi there!
Qt Creator is correct in that there are no targets defined anywhere in
the reply CMake generated. You seem to expect that: So is that indeed
something you intended to do? What is the use-case you have here?
Creator treats this case as an error since I could not imagine that
any CMake project would do this, but I learn something new about CMake
every day, so I might have been wrong with that assumption.
Yep, that is indeed what I want. The use-case is next: framework with
several related but indepented projects share some common
libraries/tools. There is no primary target thus none is build by
default, a user must explicitly define which one to build.
Best Regards,
Tobias
On Tue, Mar 31, 2020 at 1:12 PM Gena Bug <[email protected]> wrote:
Hi, Tobias,
QtC prints "Invalid codemodel file generated by CMake: No targets.".
Indeed, by default there is no targets defined, however I expect to see
a list of variables on the Project pane. Running QtC cmake-command
manually and then cmake-gui at this folder gives me the list.
.
_______________________________________________
Qt-creator mailing list
[email protected]
https://lists.qt-project.org/listinfo/qt-creator