mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-01 10:50:28 +08:00
0e405a5a77
All the older (vs2010 -> vs2013) projects had copies of the Visual Studio 2015 MSBuild applied to them when running the 'configure.bat' batch file. Any modifications to a property sheet was not applied to the other Visual Studio versions' projects unless the batch file was re-executed. * Modified the older projects to reference the Visual Studio 2015 property sheets so changes are immediately applied * Removed the batch file copy steps (which left the repository very dirty after execution)
30 lines
830 B
Batchfile
30 lines
830 B
Batchfile
@ECHO OFF
|
|
:- configure.bat creates platform.hpp and configures the build process
|
|
:- You MUST run this before building via msbuild or VisualStudio.
|
|
|
|
IF %1.==--help. (
|
|
ECHO Syntax: configure [ switch ]
|
|
ECHO --help show this help
|
|
GOTO END
|
|
)
|
|
ECHO Configuring libzmq...
|
|
|
|
ECHO // Generated by configure.bat> platform.hpp
|
|
ECHO. >> platform.hpp
|
|
ECHO #ifndef __PLATFORM_H_INCLUDED__>> platform.hpp
|
|
ECHO #define __PLATFORM_H_INCLUDED__>> platform.hpp
|
|
ECHO. >> platform.hpp
|
|
ECHO #define ZMQ_HAVE_WINDOWS 1>> platform.hpp
|
|
|
|
:- Check for dependencies
|
|
IF EXIST "..\..\..\libsodium" (
|
|
ECHO Building with libsodium
|
|
ECHO #define HAVE_LIBSODIUM 1>> platform.hpp
|
|
) ELSE (
|
|
ECHO Building without libsodium
|
|
ECHO #undef HAVE_LIBSODIUM>> platform.hpp
|
|
)
|
|
|
|
ECHO. >> platform.hpp
|
|
ECHO #endif>> platform.hpp
|