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

Line 82: Line 82:
### 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.
### 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.
### 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.
### You may wish to set the CMAKE_BUILD_TYPE to RelWithDebInfo -- this generates a faster FlightGear that still has some debugging capability.
### You may wish to set the CMAKE_BUILD_TYPE to RelWithDebInfo -- this generates a faster FlightGear that still has some debugging capability.
842

edits