close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Feb 19, 2015, 10:16:14 AM (10 years ago)
- Author:
-
Jorge
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v14
|
v15
|
|
65 | 65 | |
66 | 66 | {{{ |
67 | | mkdir c:\users\toldevel\trunk\Build\CodeLite\Debug |
68 | | mkdir c:\users\toldevel\trunk\Build\CodeLite\Release |
| 67 | mkdir c:\users\toldevel\trunk\tol\CodeLite\Debug |
| 68 | mkdir c:\users\toldevel\trunk\tol\CodeLite\Release |
69 | 69 | }}} |
70 | 70 | |
… |
… |
|
72 | 72 | |
73 | 73 | {{{ |
74 | | cd c:\users\toldevel\trunk\Build\CodeLite\Debug |
| 74 | cd c:\users\toldevel\trunk\tol\CodeLite\Debug |
75 | 75 | cmake -DTOL_EXTERNAL_DEVEL_DIR=C:/users/toldevel/TOL_DEVEL_MINGW32 -DCMAKE_BUILD_TYPE=Debug -G"CodeLite - MinGW Makefiles" c:/users/toldevel/trunk/tol |
76 | 76 | }}} |
… |
… |
|
79 | 79 | |
80 | 80 | {{{ |
81 | | cd c:\users\toldevel\trunk\Build\CodeLite\Debug |
| 81 | cd c:\users\toldevel\trunk\tol\CodeLite\Release |
82 | 82 | cmake -DTOL_EXTERNAL_DEVEL_DIR=C:/users/toldevel/TOL_DEVEL_MINGW32 -DCMAKE_BUILD_TYPE=Release -G"CodeLite - MinGW Makefiles" c:/users/toldevel/trunk/tol |
83 | 83 | }}} |
84 | 84 | |
85 | | From this point we can run CodeLite IDE and open the workspaces generated at {{{Build\CodeLite\Debug}}} or {{{Build\CodeLite\Release}}} |
| 85 | From this point we can run CodeLite IDE and open the workspaces generated at {{{CodeLite\Debug}}} or {{{CodeLite\Release}}} |
86 | 86 | |
87 | 87 | === Build from command line === |
… |
… |
|
90 | 90 | |
91 | 91 | {{{ |
92 | | cd c:\users\toldevel\trunk\Build\CodeLite\Debug |
| 92 | cd c:\users\toldevel\trunk\tol\CodeLite\Debug |
93 | 93 | mingw32-make |
94 | 94 | }}} |
95 | 95 | |
96 | 96 | {{{ |
97 | | cd c:\users\toldevel\trunk\Build\CodeLite\Release |
| 97 | cd c:\users\toldevel\trunk\tol\CodeLite\Release |
98 | 98 | mingw32-make |
99 | 99 | }}} |
… |
… |
|
104 | 104 | |
105 | 105 | {{{ |
106 | | cd c:\users\toldevel\trunk\Build\CodeLite\Debug |
| 106 | cd c:\users\toldevel\trunk\tol\CodeLite\Debug |
107 | 107 | mingw32-make install |
108 | 108 | }}} |
109 | 109 | |
110 | 110 | {{{ |
111 | | cd c:\users\toldevel\trunk\Build\CodeLite\Release |
| 111 | cd c:\users\toldevel\trunk\tol\CodeLite\Release |
112 | 112 | mingw32-make install |
113 | 113 | }}} |
114 | 114 | |
115 | 115 | This will create a directory Runtime_Base within the corresponding configuration either Debug or Release. |
| 116 | |
| 117 | == TOLTCL == |
| 118 | |
| 119 | toltcl is a TOL executable which include a Tcl interpreter. In order to build toltcl first prepare the directory to build the software: |
| 120 | |
| 121 | {{{ |
| 122 | cd c:\users\toldevel\trunk\toltcl |
| 123 | mkdir CodeLite\Debug |
| 124 | mkdir CodeLite\Release |
| 125 | }}} |
| 126 | |
| 127 | The configure the makefiles for the specific configuration either Debug or Release: |
| 128 | |
| 129 | {{{ |
| 130 | cd c:\users\toldevel\trunk\toltcl\CodeLite\Debug |
| 131 | cmake -DTOL_PREFIX_PATH=C:\users\toldevel\trunk\tol\CodeLite\Debug\Runtime_Base -DCMAKE_BUILD_TYPE=Debug -G"CodeLite - MinGW Makefiles" c:\users\toldevel\trunk\toltcl |
| 132 | }}} |
| 133 | |
| 134 | {{{ |
| 135 | cd c:\users\toldevel\trunk\toltcl\CodeLite\Release |
| 136 | cmake -DTOL_PREFIX_PATH=C:\users\toldevel\trunk\tol\CodeLite\Release\Runtime_Base -DCMAKE_BUILD_TYPE=Release -G"CodeLite - MinGW Makefiles" c:\users\toldevel\trunk\toltcl |
| 137 | }}} |
| 138 | |
| 139 | To build from command line just issue the command mingw32-make from any of the directories Debug or Release: |
| 140 | |
| 141 | {{{ |
| 142 | cd c:\users\toldevel\trunk\toltcl\CodeLite\Debug |
| 143 | mingw32-make |
| 144 | }}} |
| 145 | |
| 146 | {{{ |
| 147 | cd c:\users\toldevel\trunk\toltcl\CodeLite\Release |
| 148 | mingw32-make |
| 149 | }}} |
| 150 | |
| 151 | Finally if everything was ok we must install the binaries generated to the corresponding runtime directory: |
| 152 | |
| 153 | {{{ |
| 154 | cd c:\users\toldevel\trunk\toltcl\CodeLite\Debug |
| 155 | mingw32-make install |
| 156 | }}} |
| 157 | |
| 158 | {{{ |
| 159 | cd c:\users\toldevel\trunk\toltcl\CodeLite\Release |
| 160 | mingw32-make install |
| 161 | }}} |
| 162 | |
| 163 | This will install the toltcl package and the executable tolsh.exe |