"Exclude from build" does not work when using "Run / F5"

CodeLite installation/troubleshooting forum
craftyguy
CodeLite Curious
Posts: 3
Joined: Sun Oct 06, 2013 3:27 am
Genuine User: Yes
IDE Question: C++
Contact:

"Exclude from build" does not work when using "Run / F5"

Post by craftyguy »

When the option "exclude from build" is selected (e.g. for c++ template classes) and I hit F5 to build/run, the build fails since it tries to compile the templates.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: "Exclude from build" does not work when using "Run / F5"

Post by eranif »

Can you please provide an example?
"C++ template files" are headers... they are never compiled (not related to codelite)
If you get an error in a template file, then it means it is included somewhere in your .cpp file

Eran
Make sure you have read the HOW TO POST thread
Post Reply