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'?
project type
-
- CodeLite Enthusiast
- Posts: 27
- Joined: Mon Jun 08, 2020 4:04 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: project type
Hi,
Regards,
David
I don't know. Two suggestions, though:is it best to select 'Simple executable g++' or 'Cmake executable'?
- 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