On Thu, Nov 14, 2013 at 11:29 PM, Bogdan Marinov <[email protected]> wrote:
> On 11/12/13, Guillaume Chéreau <[email protected]> wrote:
>> On Tue, Nov 12, 2013 at 11:57 PM, Reaves, Timothy
>> <[email protected]> wrote:
>>> A cursory examination of cmake shows that it generates MSVC projects;
>>> there
>>> is no need to manually maintain them, nor should they be added to source
>>> control.
>>
>> Indeed. After some tweaking I have been able to compile stellarium
>> using cmake msvc-2010 nmake generator on windows 7.
>>
>> I couldn't find a way to add zlib to msvc, so I ended up adding all
>> the source of zlib into src/core/external.  Do you think this is an
>> acceptable solution?
>
> Can you try adding the zlib /include and /lib dirs to the INCLUDE and
> LIB environment variables before starting MSVC?

OK I am going to try again.  For the moment I added all the source of
zlib (it is actually just a few .c and .h files), I also added a
configuration option in cmake to use it instead of the system library.
 The option is set to 0 by default except for msvc build.  I agree
that this is not optimal.

>
> Regards,
> Bogdan Marinov
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Stellarium-pubdevel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel



-- 
Guillaume
[email protected]
+886 970422910

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to