| 1 | Start in an empty directory: |
| 2 | {{{ |
| 3 | c:\boost\branches\CMake\release>dir |
| 4 | Volume in drive C is OS |
| 5 | Volume Serial Number is 6AC1-32E0 |
| 6 | |
| 7 | Directory of c:\boost\branches\CMake\release |
| 8 | |
| 9 | 06/16/2008 07:22 PM <DIR> . |
| 10 | 06/16/2008 07:22 PM <DIR> .. |
| 11 | 0 File(s) 0 bytes |
| 12 | 2 Dir(s) 48,047,624,192 bytes free |
| 13 | }}} |
| 14 | Check that your pysvn and win32api python packages are installed correctly. These |
| 15 | commands should just return without output: |
| 16 | {{{ |
| 17 | c:\boost\branches\CMake\release>python |
| 18 | Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on |
| 19 | win32 |
| 20 | Type "help", "copyright", "credits" or "license" for more information. |
| 21 | >>> import pysvn |
| 22 | >>> import win32api |
| 23 | >>> exit() |
| 24 | }}} |
| 25 | |
| 26 | Verify that nmake is in your path: |
| 27 | {{{ |
| 28 | c:\boost\branches\CMake\release>nmake |
| 29 | |
| 30 | Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 |
| 31 | Copyright (C) Microsoft Corporation. All rights reserved. |
| 32 | |
| 33 | NMAKE : fatal error U1064: MAKEFILE not found and no target specified |
| 34 | Stop. |
| 35 | |
| 36 | }}} |
| 37 | Check out the cmake release branch to directory `src`: |
| 38 | {{{ |
| 39 | c:\boost\branches\CMake\release>svn co https://svn.boost.org/svn/boost/branches/ |
| 40 | CMake/release src |
| 41 | A src\regression |
| 42 | A src\configure |
| 43 | A src\status |
| 44 | A src\status\explicit-failures-markup.xml |
| 45 | A src\status\explicit-failures.xsd |
| 46 | A src\status\Jamfile.v2 |
| 47 | A src\people |
| 48 | ... |
| 49 | A src\libs\filesystem\include\boost\filesystem\fstream.hpp |
| 50 | A src\libs\filesystem\include\boost\filesystem\operations.hpp |
| 51 | A src\libs\filesystem\include\boost\filesystem\config.hpp |
| 52 | Checked out external at revision 46437. |
| 53 | |
| 54 | Checked out revision 46437. |
| 55 | }}} |
| 56 | Create a directory `build` at the same level as `src` and cd in there: |
| 57 | {{{ |
| 58 | c:\boost\branches\CMake\release>mkdir build |
| 59 | c:\boost\branches\CMake\release>cd build |
| 60 | }}} |
| 61 | Now do the initial cmake configuration. The options are as follows |
| 62 | `BOOST_BUILD_SLAVE` |
| 63 | Enable build slave mode |
| 64 | `BUILD_TESTING` |
| 65 | Turn on testing of libraries |
| 66 | `-G"NMake Makefiles"` |
| 67 | Generate nmake makefiles, not visual studio project files |
| 68 | `CMAKE_MAKE_PROGRAM` |
| 69 | Specify `nmake` as the make program |
| 70 | |
| 71 | It looks like this: |
| 72 | |
| 73 | {{{ |
| 74 | c:\boost\branches\CMake\release\build>cmake -DBOOST_BUILD_SLAVE=ON -DBUILD_TESTING=ON -G"NMake Makefiles" -DCMAKE_MAKE_PROGRAM:FILEPATH=nmake ../src |
| 75 | -- The C compiler identification is MSVC |
| 76 | -- The CXX compiler identification is MSVC |
| 77 | -- Check for CL compiler version |
| 78 | -- Check for CL compiler version - 1500 |
| 79 | -- Check if this is a free VC compiler |
| 80 | -- Check if this is a free VC compiler - no |
| 81 | -- Check CL platform |
| 82 | -- Check CL platform - 32 bit |
| 83 | -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC |
| 84 | /bin/cl.exe |
| 85 | -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC |
| 86 | /bin/cl.exe -- works |
| 87 | -- Detecting C compiler ABI info |
| 88 | -- Detecting C compiler ABI info - done |
| 89 | -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/ |
| 90 | VC/bin/cl.exe |
| 91 | -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/ |
| 92 | VC/bin/cl.exe -- works |
| 93 | -- Detecting CXX compiler ABI info |
| 94 | -- Detecting CXX compiler ABI info - done |
| 95 | -- Found PythonInterp: C:/Program Files/Python25/python.exe |
| 96 | -- found python executable C:/Program Files/Python25/python.exe |
| 97 | -- Found PythonLibs: C:/Program Files/Python25/libs/python25.lib |
| 98 | -- found python includes C:/Program Files/Python25/include |
| 99 | -- found python libs C:/Program Files/Python25/libs/python25.lib |
| 100 | -- Configuring test/compile drivers |
| 101 | -- Looking for doxygen... |
| 102 | -- Looking for doxygen... - NOT found |
| 103 | -- Looking for dot tool... |
| 104 | -- Looking for dot tool... - NOT found |
| 105 | -- + algorithm |
| 106 | -- + any |
| 107 | -- + array |
| 108 | -- + assign |
| 109 | -- + bind |
| 110 | -- + circular_buffer |
| 111 | -- + concept_check |
| 112 | -- + config |
| 113 | -- Performing Test tmp |
| 114 | -- Performing Test tmp - Failed |
| 115 | -- + conversion |
| 116 | -- + crc |
| 117 | -- + date_time |
| 118 | -- + disjoint_sets |
| 119 | -- + dynamic_bitset |
| 120 | -- + system |
| 121 | -- + filesystem |
| 122 | -- + foreach |
| 123 | -- + format |
| 124 | -- + function |
| 125 | -- + function_types |
| 126 | -- + functional |
| 127 | -- + gil |
| 128 | -- + graph |
| 129 | -- Could NOT find EXPAT |
| 130 | -- + integer |
| 131 | -- + io |
| 132 | -- + iostreams |
| 133 | -- + iterator |
| 134 | -- + lambda |
| 135 | -- + logic |
| 136 | -- + math |
| 137 | -- + serialization |
| 138 | -- + mpi |
| 139 | -- + mpl |
| 140 | -- + multi_array |
| 141 | -- + multi_index |
| 142 | -- + numeric |
| 143 | -- + optional |
| 144 | -- + parameter |
| 145 | -- + pool |
| 146 | -- + preprocessor |
| 147 | -- + program_options |
| 148 | -- + property_map |
| 149 | -- + ptr_container |
| 150 | -- + python |
| 151 | -- + quickbook |
| 152 | -- + random |
| 153 | -- + range |
| 154 | -- + rational |
| 155 | -- + regex |
| 156 | -- + signals |
| 157 | -- + smart_ptr |
| 158 | -- + spirit |
| 159 | -- + statechart |
| 160 | -- + static_assert |
| 161 | -- + test |
| 162 | -- + thread |
| 163 | -- + timer |
| 164 | -- + tokenizer |
| 165 | -- + tr1 |
| 166 | -- libs/tr1/test/CMakeLists.txt: was this just cruft? Seems to duplicate first |
| 167 | glob_test_compile line above |
| 168 | -- + tuple |
| 169 | -- + type_traits |
| 170 | -- + typeof |
| 171 | -- + utility |
| 172 | -- + variant |
| 173 | -- + wave |
| 174 | -- + xpressive |
| 175 | -- Configuring done |
| 176 | -- Generating done |
| 177 | -- Build files have been written to: C:/boost/branches/CMake/release/build |
| 178 | }}} |
| 179 | |
| 180 | Create a file `slave-description.txt` and put in some descriptive text |
| 181 | explaining anything peculiar about the slave's configuration, the |
| 182 | site/location, etc. |
| 183 | |
| 184 | {{{ |
| 185 | c:\boost\branches\CMake\release\build>notepad slave-description.txt |
| 186 | }}} |
| 187 | There are two last things to configure. Do so via `nmake edit_cache`: |
| 188 | {{{ |
| 189 | c:\boost\branches\CMake\release\build>nmake edit_cache |
| 190 | |
| 191 | Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 |
| 192 | Copyright (C) Microsoft Corporation. All rights reserved. |
| 193 | |
| 194 | Running CMake cache editor... |
| 195 | }}} |
| 196 | Set the highlighted fields (BOOST_BUILD_SLAVE_CONTACT_INFO and BOOST_BUILD_SLAVE_HOSTNAME) |
| 197 | appropriately and press "OK" to generate makefiles and exit. |
| 198 | |
| 199 | Now notify the server that a slave build is about to start: |
| 200 | |
| 201 | {{{ |
| 202 | c:\boost\branches\CMake\release\build>nmake slave-start |
| 203 | |
| 204 | Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 |
| 205 | Copyright (C) Microsoft Corporation. All rights reserved. |
| 206 | |
| 207 | Slave starting build |
| 208 | Url: https://svn.boost.org/svn/boost/branches/CMake/release at rev 46437 |
| 209 | FQDN: vista.dc.resophonic.com |
| 210 | Uname: ('Microsoft', 'EvanXPS', 'Windows', '6.0.6000', '', '') |
| 211 | Toolset: vc90 |
| 212 | |
| 213 | Notifying http://boost:boost@boost.resophonic.com/trac/login/xmlrpc of new build |
| 214 | via XML-RPC |
| 215 | Setting new build id 33 locally |
| 216 | Built target slave-start |
| 217 | }}} |
| 218 | |
| 219 | Now do the build: |
| 220 | |
| 221 | {{{ |
| 222 | c:\boost\branches\CMake\release\build>nmake /I test |
| 223 | |
| 224 | Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 |
| 225 | Copyright (C) Microsoft Corporation. All rights reserved. |
| 226 | |
| 227 | Scanning dependencies of target Algorithm-conv_test |
| 228 | [ 0%] Building CXX object libs/algorithm/Algorithm-test/CMakeFiles/Algorithm-co |
| 229 | nv_test.dir/conv_test.cpp.obj |
| 230 | *** |
| 231 | *** Executing op:cxx_compile_object |
| 232 | *** ['C:\\PROGRA~1\\MICROS~1.0\\VC\\bin\\cl.exe', '@C:\\Users\\Evan\\AppData\\Lo |
| 233 | cal\\Temp\\nm96EF.tmp'] |
| 234 | *** log=C:\boost\branches\CMake\release\build\libs\algorithm\Algorithm-test\Log. |
| 235 | marshal |
| 236 | *** |
| 237 | Linking CXX executable ..\..\..\bin\tests\Algorithm\conv_test.exe |
| 238 | *** |
| 239 | *** Executing op:link_executable |
| 240 | *** ['C:\\Program Files\\CMake 2.6\\bin\\cmake.exe', '-E', 'vs_link_exe', 'C:\\P |
| 241 | ROGRA~1\\MICROS~1.0\\VC\\bin\\cl.exe', '/nologo', '@CMakeFiles\\Algorithm-conv_t |
| 242 | est.dir\\objects.rsp', '@C:\\Users\\Evan\\AppData\\Local\\Temp\\nmABD7.tmp'] |
| 243 | *** log=C:\boost\branches\CMake\release\build\libs\algorithm\Algorithm-test\Log. |
| 244 | marshal |
| 245 | *** |
| 246 | [ 0%] Built target Algorithm-conv_test |
| 247 | Scanning dependencies of target Algorithm-conv_test-run |
| 248 | Running conv_test in project Algorithm |
| 249 | *** |
| 250 | *** Executing op:run |
| 251 | *** ['C:/boost/branches/CMake/release/build/bin/./tests/Algorithm/conv_test'] |
| 252 | *** log=C:/boost/branches/CMake/release/build/libs/algorithm/Algorithm-test\Log. |
| 253 | marshal |
| 254 | *** |
| 255 | [ 0%] Built target Algorithm-conv_test-run |
| 256 | }}} |
| 257 | |
| 258 | When it finishes, notify the server that the run is done with |
| 259 | {{{ |
| 260 | c:\boost\branches\CMake\release\build>nmake slave-finish |
| 261 | }}} |
| 262 | |
| 263 | |