Re: [CMake] Visual Studio 10 with external project dependencies - error MSB4192

2011-04-08 Thread Neil MacMullen
-coded (probably in cmGlobalVisualStudio7Generator::WriteProject though I'm away from my dev machine and can't check). Will take a look at creating a patch next week. Neil From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Neil MacMullen Sent: 08 April 2011 17:23 To

Re: [CMake] Visual Studio 10 with external project dependencies - error MSB4192

2011-04-08 Thread Neil MacMullen
s(basestation ${PROJ_NAME}) Thanks, Neil From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Neil MacMullen Sent: 08 April 2011 16:44 To: cmake@cmake.org Subject: [CMake] Visual Studio 10 with external project dependencies - error MSB4192 I've now made consid

[CMake] Visual Studio 10 with external project dependencies - error MSB4192

2011-04-08 Thread Neil MacMullen
I've now made considerable progress with creating a cmake configuration for a managed (CLR) project which also links to external managed dlls. I can use msbuild on ALL_BUILD.vcxproj to successfully create an executable etc. Only one minor issue remains; I'd like to open the cmake-generated so

Re: [CMake] Building CLR project OR removing COMPILE_FLAGS

2011-04-07 Thread Neil MacMullen
Thanks Michael, >Usually, CMake has no idea that a ".c" file like src/main.c is to be >treated by a C++ compiler, so it applies the CMAKE_C_FLAGS[_] >variables to the compilation. Thus, you probably need to tweak these >variables to suit your needs instead of the C++ ones. Moreover, note >that the

[CMake] Building CLR project OR removing COMPILE_FLAGS

2011-04-07 Thread Neil MacMullen
I'm a newcomer to cmake so if I'm missing something obvious please point it out. Having said that, despite reading the online documentation and doing a fair amount of googling I haven't found a solution. Specific Questions 1) Is there a target/generator or some other conf