project type

General questions regarding the usage of CodeLite
amwink
CodeLite Enthusiast
Posts: 25
Joined: Mon Jun 08, 2020 4:04 pm
Genuine User: Yes
IDE Question: c++
Contact:

project type

Post 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'?
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: project type

Post 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
Post Reply