[CMake] CodeBlocks Generator misses custom targets

Pierre-Julien Villoud PVilloud at movea.com
Thu Jul 30 07:55:49 EDT 2009


Yes this correspond to line 390 in CVS HEAD. I did not see any bugs with commenting that line. Of course I did not do an exhaustive test...

De : cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] De la part de Pierre-Julien Villoud
Envoyé : jeudi 30 juillet 2009 13:45
À : David Cole
Cc : cmake
Objet : Re: [CMake] CodeBlocks Generator misses custom targets

Yes sorry, I did not precise that it was 2.6.4 source tree. Are you saying that if I take CVS HEAD, and I compile it, I will have all the target I created in the CodeBlocks project ?

De : David Cole [mailto:david.cole at kitware.com]
Envoyé : jeudi 30 juillet 2009 12:00
À : Pierre-Julien Villoud
Cc : cmake
Objet : Re: [CMake] CodeBlocks Generator misses custom targets

That looks like line 201 in CMake-2-6-4 source tree. In CVS HEAD, this has moved to line 390, but the same code is still there...

Looks like that whole else chunk should be removed. Unless somebody can say why it's there...?
On Thu, Jul 30, 2009 at 5:41 AM, Pierre-Julien Villoud <PVilloud at movea.com<mailto:PVilloud at movea.com>> wrote:

Hi everyone,



When using CodeBlocks MinGW Makefiles Generator, the project generated does not contain the custom targets I created.

I don't know if this is meant to be, but I would like all the targets I created to be in the project.



So I just commented the line 201 (the "break" statement) in cmExtraCodeBlocksGenerator.cxx file and it works...



I hope somebody will find it useful !



Pierre-Julien

_______________________________________________
Powered by www.kitware.com<http://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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090730/0c34108f/attachment.htm>


More information about the CMake mailing list