| 40 | === Using dependencies for multiple compilers together === |
| 41 | If you feel like using multiple compilers (VS8/VS9/MinGW), you have to change your directory structure of the dependencies a little. An example should clear the details: [[br]] |
| 42 | {{{ |
| 43 | trunk |
| 44 | bin |
| 45 | ... |
| 46 | dependencies |
| 47 | msvc8 |
| 48 | dependencies |
| 49 | bin |
| 50 | include |
| 51 | lib |
| 52 | mingw |
| 53 | ... |
| 54 | src |
| 55 | }}} |
| 56 | |
| 57 | === Using the same dependencies for multiple checkouts === |
| 58 | While working on a branch you might still want to have the trunk checked out at the same time. But having the dependencies twice seems very redundant and unnecessary. You can avoid it like this:[[br]] |
| 59 | {{{ |
| 60 | branch |
| 61 | ... |
| 62 | dependencies |
| 63 | bin |
| 64 | include |
| 65 | lib |
| 66 | trunk |
| 67 | ... |
| 68 | }}} |
| 69 | |
| 70 | === Using multiple checkouts with multiple compilers === |
| 71 | Of course you can also combine the last two subsections. When looking for the dependencies, CMake looks for the direct ''dependencies'' subfolder first. |
| 72 | |
| 73 | [[br]][[br]] |