[CMake] How to run CMake generated projects in VS2008

Ronan Keating sasecad at hotmail.com
Wed Apr 13 04:16:45 EDT 2011



hi all, 
 
I want to know which is the proper way of generating/using the CMake generated VS2008 project files. 
I've downloaded the OpenGL samples pack from G-TRUC.NET. In order to not hassle with include files, dependencies etcc.. from forums I've been instructed to use the CMake to generate the working projects of VisualC++. 
CMake generated the projects in folder "samples/(****project_name.vcproj" ) as expected but when I attempt to open any individual project, VS2008 IDE loads all of them (in Solution Explorer) and any attempt to load/build individual projects results in whole projects bundle compilation. And compiler comlains about :
 
13>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Error 1 error PRJ0019: A tool returned an error code from  DATA_COPY DATA_COPY

I'm not familiar with the CMake so don't know exactly how to construe the bundled set, 
any help in advance will be appreciated.

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110413/a1cea145/attachment.htm>


More information about the CMake mailing list