Changes between Version 7 and Version 8 of StartModDev
- Timestamp:
- Nov 29, 2012, 1:17:34 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StartModDev
v7 v8 39 39 40 40 * With your web browser, sign into your [https://github.com GitHub] account and create a repository named {{{simple}}}. Select the option to automatically create a README file. Copy the URL of the newly created repository to your clipboard. 41 * From the command line, {{{cd}}} to a directory suitable for experimentation, clone the newly created repository, and create the library's directory structure: 41 * The remainder of the steps are run from the command line. 42 * {{{cd}}} to the {{{libs}}} sub-directory of the Boost installation root directory, clone the newly created repository, and create the library's directory structure: 42 43 {{{ 44 cd boost-root/libs 43 45 git clone git@github.com:Beman/simple.git 44 46 cd simple … … 50 52 mkdir simple 51 53 }}} 54 * Create a symlink to simulate your library being installed as part of Boost: 55 * {{{cd boost}}} 56 * Windows: {{{mklink /s simple ..\libs\simple\include\boost\simple}}} 57 * POSIX: {{{ln -s ../libs/simple/include/boost/simple simple}}} 52 58 53 * Using a text editor, create a file named twice.hpp in simple/include/boost/simple:59 * Using a text editor, create a file named twice.hpp in boost-root/libs/simple/include/boost/simple: 54 60 {{{ 55 61 #include <string> … … 62 68 }}} 63 69 64 * {{{cd}}} to simple/test. The remaining steps are done in that directory.70 * {{{cd}}} to boost-root/libs/simple/test. The remaining steps are done in that directory. 65 71 * Create a file named twice_test.cpp using a text editor: 66 72 {{{ … … 81 87 ; 82 88 }}} 83 89 84 90 * Run the test by invoking {{{b2}}} with no arguments. The output should look something like this: 85 91 {{{