0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="cmake" version="3.1.0">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">www.cmake.org/files/v3.1/cmake-3.1.0.tar.gz</action>
|
|
7 <action type="shell_command">./bootstrap</action>
|
|
8 <action type="shell_command">make</action>
|
|
9 <action type="move_directory_files">
|
|
10 <source_directory>./</source_directory>
|
|
11 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
12 </action>
|
|
13 <action type="set_environment">
|
|
14 <environment_variable name="CMAKE_ROOT" action="set_to">$INSTALL_DIR</environment_variable>
|
|
15 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin/</environment_variable>
|
|
16 </action>
|
|
17 </actions>
|
|
18 </install>
|
|
19 </package>
|
|
20 </tool_dependency>
|