project type

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

project type

Post by amwink » Tue Aug 11, 2020 3:42 pm

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'?

CodeLite Plugin
Posts: 690
Joined: Wed Sep 03, 2008 7:26 pm

Re: project type

Post by DavidGH » Tue Aug 11, 2020 11:08 pm

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.



Post Reply