Editing Compiling
From BRL-CAD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
* Minimum versions: | * Minimum versions: | ||
− | ** CMake must be 3. | + | ** CMake must be 3.12 or later |
− | ** | + | ** C++11-compliant compiler |
− | |||
*** If using Visual Studio, version 2015 (14.0+) or later | *** If using Visual Studio, version 2015 (14.0+) or later | ||
*** If using GCC/G++, version 4.8.1 or later | *** If using GCC/G++, version 4.8.1 or later | ||
*** If using LLVM/Clang 3.3 or later | *** If using LLVM/Clang 3.3 or later | ||
− | |||
Line 90: | Line 88: | ||
* '''Mac''': You can either run CMake GUI like described for Windows, specifying your source dir, build dir, and the above variables, or you can follow the steps below for Linux in Terminal. | * '''Mac''': You can either run CMake GUI like described for Windows, specifying your source dir, build dir, and the above variables, or you can follow the steps below for Linux in Terminal. | ||
− | * '''Linux''': <pre>cd brlcad/ | + | * '''Linux''': <pre>cd brlcad/bulid</pre><pre>cmake .. -DBRLCAD_ENABLE_STRICT=NO -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release</pre> |
See [https://github.com/BRL-CAD/brlcad/blob/main/INSTALL INSTALL] for more CMake options. | See [https://github.com/BRL-CAD/brlcad/blob/main/INSTALL INSTALL] for more CMake options. |