2009/1/9 Neil Gierman <ngier...@roadrunn.com>: > I use Visual Studio 2008 and my Defines for the libssh2 project are: > > WIN32;_DEBUG;LIBSSH2_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRE > CATE for debug builds and: > > WIN32;NDEBUG;LIBSSH2_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRE > CATE for release builds. > > Also don't forget that you need to copy libssh2_config.h from the win32 > directory to the src directory (that's a pre-build event in my project).
My defines are similar and I also have the following include paths set: AdditionalIncludeDirectories="libssh2\include;libssh2\win32;openssl\inc32;zlib\include" which means users of my project can just dump libssh2 from the CVS into the libssh2/ directory as-is and compile. They don't have to copy or edit anything (though, off course, I have a custom .vcproj for libssh2 in my top-level directory). Every little helps. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel