Re: [CMake] Using the Microsoft compiler with "Unix Makefiles"

2012-06-18 Thread William R. Otte
Hi Brendan - On Jun 18, 2012, at 11:49 PM, Braden McDaniel wrote: > Is it possible to use the Microsoft compiler (cl) with "Unix Makefiles"? > > I found some older list postings that suggested it could work; however, > setting CC, CXX, and CMAKE_CXX_COMPILER to "cl" doesn't do the trick. (It

Re: [CMake] add_custom and files generated into subdirectories

2012-04-12 Thread William R. Otte
Hi Micha - On Apr 12, 2012, at 2:42 AM, Micha Renner wrote: > I guess, this is one of the rare cases where one need: > > SET_SOURCE_FILES_PROPERTIES(Foo.cpp PROPERTIES GENERATED TRUE) > Thanks! There's no way to do this automatically? I'd be fine with not having cmake try to find source fi

[CMake] add_custom and files generated into subdirectories

2012-04-11 Thread William R. Otte
Hi - I have a question about resolving dependencies when add_custom is used to generate files into subdirectories. Consider the following example (substantially simplified from my use case, but it captures the essence of what I am trying to do: In the root of the project, I have the followin