I just downloades the newest CVS and still have this bug :-(
-----Ursprüngliche Nachricht----- Von: Sylvain Benner [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. November 2006 11:06 An: Sören Freudiger; cmake@cmake.org Betreff: Re: [CMake] SOURCE_GROUP bug It's a known bug (#2331) and it should be fixed in the CVS. For your information, you can find the bug entry here : http://public.kitware.com/Bug/bug.php?op=show&bugid=2331&pos=2 Sylvain ----- Original Message ----- From: "Sören Freudiger" <[EMAIL PROTECTED]> To: <cmake@cmake.org> Sent: Wednesday, November 08, 2006 8:20 PM Subject: [CMake] SOURCE_GROUP bug Hi there's a bug within SOURCE_GROUP and subfolders: Example: DIRS ON HDD: \world \world\europe \world\europe\france\people \world\europe\france\paris \world\europe\france\paris\people CMAKELIST.TXT: SOURCE_GROUP(\\world a.cpp) SOURCE_GROUP(\\world\\europe b.cpp) SOURCE_GROUP(\\world\\europe\\france\\people c.cpp) SOURCE_GROUP(\\world\\europe\\france\\paris d.cpp) SOURCE_GROUP(\\world\\europe\\france\\paris\\people e.cpp) WHAT WE GET IN VS8.0: \world - a.cpp \world\europe b.cpp \world\europe\france\people c.cpp e.cpp <--- !!!! error \world\europe\france\paris d.cpp We are missing: \world\europe\france\paris\people It seems that it's not possible to have two subdirs with the same name in one branch. Any clue? SirAnn -- Dipl.-Ing. Soeren Freudiger Institut fuer ComputerAnwendungen im Bauingenieurwesen TU Braunschweig, Pockelsstr. 3, D-38106 Braunschweig Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444 email: [EMAIL PROTECTED] http://www.cab.bau.tu-bs.de/ -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Brad King Gesendet: Mittwoch, 1. November 2006 18:49 An: Filipe Sousa Cc: cmake@cmake.org Betreff: Re: [CMake] Setting the C dialect Filipe Sousa wrote: > Mattias Holm wrote: >> Hi there, >> >> I am new to the list, so excuse me if this has been asked before. >> >> I am trying to figure out if there is a good way of setting the >> language dialect that you are using. For example, I am working with a >> project written in C99, and thus I need to specify this. >> >> Sure enough, I can use SET_SOURCE_FILES_PROPERTIES and set the >> compile flags for every C-file to -std=c99/gnu99 and at least that >> will work with GCC. Is there any way to do this portably, and without >> setting the compile flags on every source file? > > > IF(CMAKE_COMPILER_IS_GNUCC) > SET(CMAKE_C_FLAGS -std=c99) > ENDIF() The set should be SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") -Brad _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake