Re: [CMake] Enabling C99 in CMake

2011-06-30 Thread Michael Hertling
On 06/27/2011 07:07 PM, Rolf Eike Beer wrote: > Michael Hertling wrote: > >> SET_SOURCE_FILES_PROPERTIES(${CMAKE_BINARY_DIR}/c89.c >> PROPERTIES COMPILE_FLAGS ${CMAKE_C_DIALECT_C89}) >> SET_SOURCE_FILES_PROPERTIES(${CMAKE_BINARY_DIR}/c99.c >> PROPERTIES COMPILE_FLAGS ${CMAKE_C_DIALECT_C99}

Re: [CMake] Enabling C99 in CMake

2011-06-30 Thread Michael Hertling
On 06/27/2011 06:34 PM, Todd Gamblin wrote: > On Jun 24, 2011, at 11:30 PM, Michael Hertling wrote: > >> On 06/23/2011 06:20 PM, Jed Brown wrote: >>> On Thu, Jun 23, 2011 at 17:50, Michael Hertling wrote: >>> You need to use a C99 compiler for your project >>> >>> >>> This is already a probl

Re: [CMake] Enabling C99 in CMake

2011-06-30 Thread Michael Hertling
On 06/26/2011 04:12 PM, Owen Shepherd wrote: > On 25/06/2011 07:30, "Michael Hertling" wrote: > >> On 06/24/2011 04:16 PM, Owen Shepherd wrote: >>> I think the appropriate solution here is a project-specific dialect >>> flag - >>> perhaps one taking options in the GNU format since it seems most >

Re: [CMake] Parallel make & custom command

2011-06-30 Thread Bill Hoffman
On 6/30/2011 5:23 PM, Alan W. Irwin wrote: On 2011-06-30 22:15+0200 Alexander Neundorf wrote: On Wednesday 29 June 2011, Marcel Loose wrote: ... After I had posted my question I realized that this issue has come up quite recently on the mailing list in a thread that I started -- see http://www

[CMake] One source file, different arch

2011-06-30 Thread 邓尧
Hi, I'm new to CMake. My project is a little different from the projects found in the tutorials. I have to compile some of the source files into two different archs(32-bit & 64-bit). It's like the following: Given 4 source files: A.c, B.c, C.c, D.c, I need to compile a 32-bit executable with sou

Re: [CMake] CMake Wiki spammed

2011-06-30 Thread John Drescher
I think I fixed it. John On Thu, Jun 30, 2011 at 7:30 PM, David Cole wrote: > I have forwarded this to our IT team... Hopefully it's not too hard to > recover from for them. > > Thanks, > David > > > On Thu, Jun 30, 2011 at 7:24 PM, John Drescher wrote: >> >> On Thu, Jun 30, 2011 at 6:27 PM, Mo

Re: [CMake] CMake Wiki spammed

2011-06-30 Thread David Cole
I have forwarded this to our IT team... Hopefully it's not too hard to recover from for them. Thanks, David On Thu, Jun 30, 2011 at 7:24 PM, John Drescher wrote: > On Thu, Jun 30, 2011 at 6:27 PM, Moreland, Kenneth > wrote: > > It looks like the CMake Wiki recently got spammed. I see several

Re: [CMake] CMake Wiki spammed

2011-06-30 Thread John Drescher
On Thu, Jun 30, 2011 at 6:27 PM, Moreland, Kenneth wrote: > It looks like the CMake Wiki recently got spammed.  I see several links were > recently added that do not belong (head lice treatment?).  Even more > annoying, it looks like the spammer removed some links that do belong there. It's a mes

[CMake] CMake Wiki spammed

2011-06-30 Thread Moreland, Kenneth
It looks like the CMake Wiki recently got spammed. I see several links were recently added that do not belong (head lice treatment?). Even more annoying, it looks like the spammer removed some links that do belong there. -Ken Kenneth Moreland *** Sandia National Laborato

Re: [CMake] Parallel make & custom command

2011-06-30 Thread Alan W. Irwin
On 2011-06-30 22:15+0200 Alexander Neundorf wrote: On Wednesday 29 June 2011, Marcel Loose wrote: ... After I had posted my question I realized that this issue has come up quite recently on the mailing list in a thread that I started -- see http://www.mail-archive.com/cmake@cmake.org/msg36362.h

Re: [CMake] Building a MS COM Dll with Cmake

2011-06-30 Thread Steven Velez
Since no one has yet replied, I will comment that this workflow is much like what Qt does with the moc (meta-object-compiler) and uic tools. Looking at the FindQt4.cmake and the referenced Qt4Macros.cmake files, it seems like these could provide some examples to follow... ... though its true the

Re: [CMake] Parallel make & custom command

2011-06-30 Thread Alexander Neundorf
On Wednesday 29 June 2011, Marcel Loose wrote: ... > After I had posted my question I realized that this issue has come up > quite recently on the mailing list in a thread that I started -- see > http://www.mail-archive.com/cmake@cmake.org/msg36362.html. Although the > original question was related

[CMake] Building a MS COM Dll with Cmake

2011-06-30 Thread Gerhard Gappmeier
Hi I'm working on a project which is completely portable, except of one COM wrapper Dll which should be built only on windows. To be consistent with the other parts I also want to build this COM Dll using CMake like I do we the rest of the project. However I don't know how to do this "MS magic"

Re: [CMake] Parallel make & custom command

2011-06-30 Thread Marcel Loose
On Wed, 2011-06-29 at 23:43 +0200, Marcel Loose wrote: > On Wed, 2011-06-29 at 20:46 +0200, Michael Wild wrote: > > On 06/29/2011 05:22 PM, Marcel Loose wrote: > > > Hi all, > > > > > > I'm having a problem with a parallel 'make' where one or more > sources > > > are generated by a custom command.