Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
wiki:terraview5_build [2014/01/31 11:26] marisa [Cmake] |
wiki:terraview5_build [2014/08/18 11:26] marisa |
||
---|---|---|---|
Line 3: | Line 3: | ||
==== Building TerraView ==== | ==== Building TerraView ==== | ||
- | TerraView is included in Terralib as one of it's modules, therefore, it is necessary to either build the terralib library prior to building TerraView. | + | TerraView is included in TerraLib as one of its modules, therefore, it is necessary to build the terralib library before building TerraView. |
- | General information regarding the compilation proccess of the terralib library are detailed at [[wiki:terralib5_build|TerraLib Build and Install]] | + | General information regarding the compilation process of the terralib library are detailed at [[wiki:terralib5_build|TerraLib Build and Install]] |
Also, make sure your compiling environment is prepared by following the instructions at [[wiki:terralib5_environment|Working Environment]] | Also, make sure your compiling environment is prepared by following the instructions at [[wiki:terralib5_environment|Working Environment]] | ||
Line 13: | Line 13: | ||
=== Using the CMake Graphic Interface (cmake-gui) to build the compilation projects === | === Using the CMake Graphic Interface (cmake-gui) to build the compilation projects === | ||
- | |||
Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | ||
- | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled select it's option on the cmake interface at build group as follows: | + | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled, set TERRALIB_TERRAVIEW_ENABLED on cmake interface at TERRALIB group. |
- | + | ||
- | {{:wiki:build-terraview.png|}} | + | |
=== Using the CMake command line to build the compilation projects === | === Using the CMake command line to build the compilation projects === | ||
- | |||
Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | Follow the steps detailed at [[wiki:terralib5_build#cmake|TerraLib - Cmake]] | ||
- | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled specify it's variable as true. | + | The only difference worth mentioning is that, like most modules, terraView is optional, so in order to be sure it will be compiled specify its variable as true. |
== Example == | == Example == | ||
- | cmake -G 'Visual Studio 10' C:\Dev\Terralib\build -DTE_DEPENDENCIES_DIR=C:/Libs/terralib_3rdparty_win32 -DBUILD_TERRAVIEW=True | + | cmake -G 'Visual Studio 10' C:\Terralib\codebase\build -DTERRALIB_TERRAVIEW_ENABLED=True |