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

Jump to navigation Jump to search
Line 80: Line 80:
### First check the <tt>MSVC_3RDPARTY_ROOT</tt> variable. If it is not set, chances are that there will be a lot of <tt>-NOTFOUND</tt> errors. Instead of trying to fix every error individually, set that variable to the location of the <tt>\Dependencies</tt> folder in the directory structure that is presented above. Then press [[File:CMake GUI Configure.png]] again.
### First check the <tt>MSVC_3RDPARTY_ROOT</tt> variable. If it is not set, chances are that there will be a lot of <tt>-NOTFOUND</tt> errors. Instead of trying to fix every error individually, set that variable to the location of the <tt>\Dependencies</tt> folder in the directory structure that is presented above. Then press [[File:CMake GUI Configure.png]] again.
### Set the  <tt>CMAKE_INSTALL_PREFIX</tt> variable to <tt>\Dependencies\install\msvc140-64\Simgear</tt>
### Set the  <tt>CMAKE_INSTALL_PREFIX</tt> variable to <tt>\Dependencies\install\msvc140-64\Simgear</tt>
### Set the <tt>Boost_INCLUDE_DIR</tt> variable to <tt>\Dependencies\boost</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.
### 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