Menu

#9 fix cmake for windows

Unstable_(example)
closed
nobody
None
5
2014-01-26
2012-02-12
Anonymous
No

Replaces -lz with proper searching for libz, automatically enables the QUAZIP_EXPORT macro when building a shared lib in cmake and installs .dll files to bin/ where they belong in windows.

P.S.: your trunk is currently broken (in linux and windows at least):
quazip.cpp:481:1: error: explicit template specialization cannot have a storage class
quazip.cpp:489:1: error: explicit template specialization cannot have a storage class

Discussion

  • Sergey A. Tachenov

    Thanks for the patch.

    Re: P. S.: In MSVC 2008 it compiles successfully. I'll check Linux. I think I have already seen this problem, and I thought I have fixed it, but I guess I haven't.

     
  • Sergey A. Tachenov

    Sorry, I totally forgot about this, and now when I applied the patch #3494177, it no longer works. Since I don't have any experience with cmake, I'm not sure if it is needed anymore, so I set this to Pending and Out of Date.

     
  • Sergey A. Tachenov

    • status: open --> pending-out-of-date
     
  • Sergey A. Tachenov

    • status: pending-out-of-date --> closed
    • Group: --> Unstable_(example)