You may want to try option #2 from the following page:
http://www.cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial
This would solve your problem as the .project and .cproject files are
never actually generated. It is up to you to generate those files. But
this means that you can customize the project in any way you would
like and CMake will never mess with those files.
I personally use this technique on a daily basis and it seems to
work very well.
_________________________________________________________
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Nov 24, 2009, at 10:00 AM, Peter Kluger wrote:
Hi to all,
i recently start using eclipse in our project and am very happy how
it works with the CMake Eclipse CDT 4.0 generator.
Unfortunately, every time i recall cmake it writes the .project
(+.cproject) file for eclipse and overwrites my personal settings
within that file prior set,
like when i set extra make parameters (../gmake -j X -k).
It is kind of annoying since i have to call it every now and then
and must "reset" those settings.
I thought about writing my own script which is called after cmake
and retains those settings but i figured it could be something cmake
does.
Maybe i overlooked a special flag i must set for cmake to keep
certain settings in the project file if it already exsists
but i haven't found anything related to my problem in the internetz.
You could discuss if its something, eclipse shouldnt store in the
project file
to begin with, but i would like to have a "workaround". Any help
would be appreciated and thank you in advanced.
--
Mit freundlichen Grüßen / Kind regards,
Peter Kluger
_______________________________________________________________________
Kluger Peter
Development SIMPACK AG
Phone: + 49 8105 77266-62 Friedrichshafener Strasse 1
Fax: + 49 8105 77266-11 82205 Gilching, Germany
E-Mail: peter.klu...@simpack.de i...@simpack.de
Web: www.simpack.com
Simulation Software SIMPACK - Consulting - Training
_______________________________________________________________________
Executive Board: Dr. Alexander Eichberger, Dr. Lutz Mauer; Chair of
Supervisory Board: Silvia Förster (CPA); Commercial Register München
HRB 181 229
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake