Adding external libraries to C++ project, Windows, Codelite version 15

CodeLite installation/troubleshooting forum
ruynox
CodeLite Curious
Posts: 3
Joined: Sat Feb 19, 2022 8:01 am
Genuine User: Yes
IDE Question: c++
Contact:

Adding external libraries to C++ project, Windows, Codelite version 15

Post by ruynox »

I'm trying to add "pugixml library" for XML support to my project. I've downloaded files from their site but I couldn't figure out how do I add them to my project. It doesn't have include directory. It has src, scripts and docs files in it. I have downloaded pugixml library from this web site:
https://pugixml.org/

User avatar
Jarod42
CodeLite Expert
Posts: 237
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Adding external libraries to C++ project, Windows, Codelite version 15

Post by Jarod42 »

It seems more a question for pugixml library.

In Codelite,
in project option:

  • In compiler option, you have to add appropriate include path in "IncludePath"
  • in linker option, you have to fill "Libraries" and "Libraries Search path"
Post Reply