User:Legoboyvdlp/Building using CMake - Windows: Difference between revisions

Jump to navigation Jump to search
Line 77: Line 77:
### Set the  <tt>CMAKE_INSTALL_PREFIX</tt> variable to <tt>\install\Simgear</tt>
### Set the  <tt>CMAKE_INSTALL_PREFIX</tt> variable to <tt>\install\Simgear</tt>
### Set the <tt>Boost_INCLUDE_DIR</tt> variable to <tt>\Dependencies</tt>
### Set the <tt>Boost_INCLUDE_DIR</tt> variable to <tt>\Dependencies</tt>
### To pick up Boost correctly, you must add a new Cache entry with name <tt>BOOST_ROOT</tt>, type <tt>PATH</tt>, and value <tt>\Dependencies</tt>. It is '''not''' required to set Boost_DIR to any value.[[File:BuildSettingBoost.png|thumb|Demonstrates how to add Boost in CMAKE GUI]]
### To pick up Boost correctly, you must add a new Cache entry, using [[File:CMake GUI AddButton.png]] with name <tt>BOOST_ROOT</tt>, type <tt>PATH</tt>, and value <tt>\Dependencies</tt>. It is '''not''' required to set Boost_DIR to any value.[[File:BuildSettingBoost.png|thumb|Demonstrates how to add Boost in CMAKE GUI]]
### Create a second cache entry, called <tt>CMAKE_PREFIX_PATH</tt>, type <tt>PATH</tt> and value <tt>\Dependencies\install\msvc140-64\OpenSceneGraph</tt>. This will allow OSG to be picked up automatically.
### Create a second cache entry, called <tt>CMAKE_PREFIX_PATH</tt>, type <tt>PATH</tt> and value <tt>\Dependencies\install\msvc140-64\OpenSceneGraph</tt>. This will allow OSG to be picked up automatically.
### Also verify the lines with a checkbox. These are build options and may impact the feature set of the built program.
### Also verify the lines with a checkbox. These are build options and may impact the feature set of the built program.
842

edits

Navigation menu