Re: [CMake] Virtual Studio 8 and 10 error: '/Tc' requires an argument

2010-08-06 Thread Ryan Pavlik
On 8/6/10 12:44 PM, John McGehee wrote: Um, yes, that would be it. I copied the values for CMAKE_C_FLAGS_DEBUG , CMAKE_C_FLAGS_RELEASE, et al. verbatim from somewhere on the Internet, and they all contained the /Tc options. Once I removed them, the compiler runs. Thanks, Ryan. Sometimes I

Re: [CMake] Virtual Studio 8 and 10 error: '/Tc' requires an argument

2010-08-06 Thread John McGehee
Um, yes, that would be it. I copied the values for CMAKE_C_FLAGS_DEBUG , CMAKE_C_FLAGS_RELEASE, et al. verbatim from somewhere on the Internet, and they all contained the /Tc options. Once I removed them, the compiler runs. Thanks, Ryan. Sometimes I just need someone to look over my shoulder.

Re: [CMake] Virtual Studio 8 and 10 error: '/Tc' requires an argument

2010-08-06 Thread Ryan Pavlik
Are you adding /Tc to the flags anywhere in your build? (either incorrectly with add_definitions, or correctly with set cmake_c_flags?) Ryan On Thu, Aug 5, 2010 at 9:16 PM, John McGehee wrote: > I have my CMake build, test and install working on Linux, and now I'm > trying to get it to build on

[CMake] Virtual Studio 8 and 10 error: '/Tc' requires an argument

2010-08-05 Thread John McGehee
I have my CMake build, test and install working on Linux, and now I'm trying to get it to build on Windows. On Windows XP SP3, I have installed: CMake 2.8.2 Virtual Studio Express 9 and 10 CMake Configure and Generate for either Virtual Studio 9 or 10 run without error. In VS, I open t