Re: Compiling with Eclipse



I searched for this tab Project -> Project Paths and have not found it, and how to make a CMake file, could you hand me a sample file or a link to some tutorial that I can be checking.

if possible thank you very much.

Em quarta-feira, 11 de julho de 2012, Fernando Herrero Carrón escreveu:
El mié, 11-07-2012 a las 09:51 -0300, Rodrigo Nunes escribió:
> Forgive my ignorance, but how do I change this in eclipse?
> I've tried everything here and I can not solve.

I believe it's not possible to use pkg-config automatically within
eclipse. You can run that command on your terminal and then throw the
library and path flags in your project settings. You can do this in the
Project -> Project Paths tab.

Or else, I would recommend using CMake to build your projects. You can
write a CMakeLists.txt file that takes care of automatic discovery, and
then use the "cmake -G" command to generate an Eclipse project for you
(you only need to do this once). Then, in Eclipse, you can "Import ->
Existing projects", and everytime you build, cmake will take care for
you to provide the appropriate flags.

Hope this helps,
Fernando

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


--
Pensamentos viram palavras,
Palavras viram ações,
Ações viram hábitos,
Hábitos viram caráter,
E o caráter vira o seu destino.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]