![]() |
|
![]() |
|
cURL ![]() ![]() ![]() curlpp mailing list Archives
Re: [cURLpp] compiling cURLpp in Visual Studio 2008
From: Piotr Dobrogost <curlpp_at_2008.autoera.pl>
Date: Sat, 08 Nov 2008 17:38:07 +0100
Andrei
> Could you let me know what troubles do you have with MSVS 2008?
Sure. Nice you're asking :)
> I do not have MSVS 2008, but I believe there is a trial version around
There was problem with no declaration of CURLPP_STATIC when I was building static curlpp and examples using it.I see you already fixed this by adding new configurations and defining this in static ones. (I was using version without your changes).
I took a look at curlpp.sln and curlpp.vcproj files you modified.
I see you changed names of directories and output files from hard coded ones to a new form using macros like "$(ConfigurationName)". That was something I was going to make before I saw you already did this :)
You also changed hard coded path to libcurl to one using LIBCURL_PATH macro. It's nice.
You divided full path to libcurl from AdditionalDependencies to a filename (AdditionalDependencies) and path (AdditionalLibraryDirectories).
What I would propose is to make IntermediateDirectory different then OutputDirectory. It may be a subdirectory of OutputDirectory. So instead of
In curlpp.vcproj;
there is this line
I'm not sure if we should keep this.
there is this setting
whereas I get warning saying this compiler switch is depreciated and will be removed. We should change it to false.
warning level is set to 3.
I get warning C4005: 'PACKAGE_NAME' : macro redefinition but I see you fixed SList.cpp include list. Still includes in this file don't look ok with this double inclusion of global.h - one with guard and one without. I think we should change this.
I get warning C4706: assignment within conditional expression in line 107 of multi.cpp
I don't know why you defined this
We should rename curlpp.sln and curlpp.vcproj files to curlpp.vc8.sln and curlpp.vc8.vcproj and add curlpp.vc9.sln and curlpp.vc9.vcproj files when they'll be ready.
The last but not the least we should add support for compiling with OpenSSL.
I think instead of writing all these I should have changed the code and post diffs :)
Regards
ps.
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info