/[Apache-SVN]
ViewVC logotype

Revision 1600924


Jump to revision: Previous Next
Author: chug
Date: Fri Jun 6 15:30:37 2014 UTC (9 years, 10 months ago)
Changed paths: 2
Log Message:
PROTON-596: Add cmake configure_file to customize config.bat for windows builds.

1. Cmake on windows produces all four cmake configurations (debug, relwithdebinfo, ...) on one pass. Producing N config.bat files, one for each configuration, seems like overkill. The build produces just one config.bat that that is set up for RelWithDebInfo.

2. The prototype bash file config.sh does several conditional tests for sensing the build and changing the environment accordingly. The windows version flattens these tests out and forces the settings every time. It's easier to understand this way and requires a lot less testing for proof. Only the Python binding has been exercised; Ruby, Perl, and PHP not so much.

3. A typical 32-bit VS2010 run:
  > mkdir build
  > mkdir install
  > cd build
  > call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" x86
  > cmake -G "Visual Studio 10" -DCMAKE_INSTALL_PREFIX=../install ..
  > devenv proton.sln /build "RelWithDebInfo|Win32" /project INSTALL
  > devenv proton.sln /build "Debug|Win32" /project INSTALL
  > call config.bat
  > ctest -VV

There is one python test that fails regularly (out of 282).


Changed paths

Path Details
Directoryqpid/proton/trunk/CMakeLists.txt modified , text changed
Directoryqpid/proton/trunk/config.bat.in modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26