Page 1 of 1

project type

Posted: Tue Aug 11, 2020 3:42 pm
by amwink
After building a few dynamic libraries using the Cmake build system, I want to build a simple executable which uses those libraries.

In the 'new project' dialog I can select the project type, whose choices include my g++ compiler and Cmake executables.
For a project that uses Cmake as the build system and g++ as the compiler, is it best to select 'Simple executable g++' or 'Cmake executable'?

Re: project type

Posted: Tue Aug 11, 2020 11:08 pm
by DavidGH
Hi,
is it best to select 'Simple executable g++' or 'Cmake executable'?
I don't know. Two suggestions, though:
  • Look at the 'cmake executable' project template. If it calls g++ (or something like ${default compiler}) , select that one.
  • Try both and see which works best for you.

Regards,

David