I need to use GLPK (linear programming package) under ubuntu. After writing the cpp file, enter
in the command line.gcc -c sample.cpp
gcc sample.o -lglpk -lm
The a.out executable file is finally generated.
Now I want to execute the above process under kdevelop. How should I set the parameters -lglpk -lm?
Is it written in the makefile?
Thank you all!
Add to CMakeLists.txt
Here d is the name of the executable file generated by your project