<p>I am trying to program a simple application to control de volume with Alsa API. To do that, I need to use the library "libasound.os".</p>
<p>If I compile with command like:</p>
<p>g++ -lasound main.cpp</p>
<p>... it works perfectly. "-lasound" is for linking the libasound.os library.</p>
<p>The question is:</p>
<p>How can I set compiler options (like "-lasound") in KDevelop4? Or how can I link libraries easily (without using the CMakeLists.txt)? (for example, like in NetBeans... I click-right on the project name, and I select "add library")</p>
<p>Thank you very much for your time.</p>