kastnermario / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

VS 2005 Support #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The supplied Visual Studio files are dependent on VS2008. It turns out 
that supporting VS2005 is quite easy. Attached are 3 files that allow yaml-
cpp being compiled also on VS2005

Original issue reported on code.google.com by tiagoan...@gmail.com on 17 Nov 2009 at 3:26

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you. I'm not sure whether I want to add these, though, since the VS2008 
files
are only there as a legacy of before I started using CMake. You can always use 
CMake
to generate these VS files, for any version you like.

That being said, I understand that developing on Windows is very painful, and
anything that makes it easier (like pregenerated project files) is very useful.

Thanks for your interest, though!

Original comment by jbe...@gmail.com on 17 Nov 2009 at 3:48

GoogleCodeExporter commented 8 years ago
Actually cmake building had a problem (at least with VS2005): It complained of 
not
finding yaml-cpp.lib. That is why I resorted to the "old" sln files.

PS - not a VS/Windows person myself.

Original comment by tiagoan...@gmail.com on 17 Nov 2009 at 4:08

GoogleCodeExporter commented 8 years ago
Hmm.. ok, I'll check it out. I think I have VS2005 installed on an old machine, 
so
I'll give it a try.

Original comment by jbe...@gmail.com on 17 Nov 2009 at 4:36

GoogleCodeExporter commented 8 years ago
Actually VS2008 can read project files up to VS6. So if you have plans to 
support
vcproj, it would be better to support some old vcproj format, because new 
versions of
visual studio can load them easily.

Original comment by 1000Hz.r...@gmail.com on 9 Jan 2010 at 2:15

GoogleCodeExporter commented 8 years ago
I download above three files but it compiles failed in vs2005. Could you help me
compile it in vs2003?  Thanks!

Original comment by joyj...@gmail.com on 31 Mar 2010 at 1:46

GoogleCodeExporter commented 8 years ago
I use vspc.exe to convert. It works ok.

Original comment by joyj...@gmail.com on 31 Mar 2010 at 3:06

GoogleCodeExporter commented 8 years ago
Use CMake from http://www.cmake.org/ and it will work for VS2005 since trunk 
r432 (and should be in the next release).
You can also use trunk's CMakeLists.txt with the 0.2.5 source, just fix the 
version number if necessary.

Original comment by matthias...@gmail.com on 2 Mar 2011 at 7:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It also creates correct VS2003 project files (comment 6), but issue 89 is still 
left for VS2003 (so go there).

Original comment by matthias...@gmail.com on 2 Mar 2011 at 8:55

GoogleCodeExporter commented 8 years ago
Now that the CMake build settings support Visual Studio better, I deleted the 
old Visual Studio solution and project files (since I was no longer updating 
them anyways). CMake all the way!

Original comment by jbe...@gmail.com on 2 Mar 2011 at 9:04