Re: [CMake] Visual C++ and cpack

2011-06-01 Thread Michael Jackson
On Jun 1, 2011, at 11:08 AM, Mathias Bavay wrote: > On 06/01/2011 12:37 PM, Michael Jackson wrote: >> If that really is your exact code from cmake you are building a >> static library only. There must be another argument to the add_library >> command that says SHARED. > > In a subdirectory (aft

Re: [CMake] Visual C++ and cpack

2011-06-01 Thread Mathias Bavay
On 06/01/2011 12:37 PM, Michael Jackson wrote: If that really is your exact code from cmake you are building a static library only. There must be another argument to the add_library command that says SHARED. In a subdirectory (after searching for "SHARED" in all my CMakeLists), I have OPTION

Re: [CMake] Visual C++ and cpack

2011-06-01 Thread Michael Jackson
If that really is your exact code from cmake you are building a static library only. There must be another argument to the add_library command that says SHARED. With out that argument cmake will always generate a static library build. Also Visual Studio will generate the "Release" subdirectory

[CMake] Visual C++ and cpack

2011-06-01 Thread Mathias Bavay
Hi! I've been using cmake and cpak on Linux for my project (a library) without any problems. I'm now trying to get it to work with Visual C++ Express 10. It compiles fine, and puts files (from the project directory) into meteoio/Release (both a .dll and a .lib). When running cpack, it only pa