IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
<divclass="info"> If you want to download and build cling within ROOT please follow the tutorial <ahref="https://root.cern/cling/cling_build_instructions/"target="_blank">here</a></div>
<li><b>Visual Studio</b> - <ahref="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express"target="_blank">VS Express should work as well</a></li>
svn co http://root.cern.ch/svn/root/branches/dev/cling cling</pre>
</li>
<li>
Allow Cling to hook into LLVM's build system: apply the two patches located in the cling\patches folder.
</li>
<li>
Open up cmake and enter the path to the 'src' folder in the 'Where is the source code' field and the path to the 'build' folder in the 'Where to build the binaries' field (mkdir llvm\obj - next to src).
</li>
<li>
Click the Configure button and in the newly popped up window choose Visual Studio version that you have, then click Finish.
</li>
<li>
After the configuring completes many red entries should appear in the Cmake window. You may want to change CMAKE_INSTALL_PREFIX to 'inst' (next to next to src and obj, otherwise the default is Program Files). Click Generate. <br/><i>Note:</i> You may have to do it twice (on 2.8.5) in case after clicking Generate the box is still red.
</li>
<li>
Navigate to your 'build' folder and open LLVM.sln using Visual Studio and build it.
</li>
<li>
Navigate to CMakePredefined project in Visual Studio and right click INSTALL. Choose Project Only -> Build only INSTALL.
</li>
</ol>
<p>The executables could be found in your CMAKE_INSTALL_PREFIX/bin/
</p>
<p>More information about cmake in LLVM and Clang could be found <ahref="http://www.llvm.org/docs/CMake.html"target="_blank">here</a> and <ahref="http://clang.llvm.org/get_started.html"target="_blank">here</a>.