Hi, I'm using CMake for Windows as I was informed that I couldn't use
`make` as the CMakeLists.txt file was only for CMake.
Within CMake for Windows I select the location of the source code which
is the cloned repository which include the CMakeLists.txt file that I
want to compile, followed by I select a folder where to build the
binaries; I'm then prompt for a generator for the project. Up to this
point am I doing this correctly ?
Thank You
On 7/31/2018 12:56 PM, Michael Ellery wrote:
typical usage would be something like (assuming you are at repo root) :
mkdir mybuild && cd mybuild
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake —build .
you can also opt to configure cmake (the equivalent of the first cmake command
above) using a GUI like ccmake or cmake-gui if you prefer. The cmake build type
can be changed depending on your needs. If the project depends on other
libraries/tools, you might need to install those before building.
HTH,
Mike
On Jul 30, 2018, at 9:17 PM, CrestChristopher <crestchristop...@gmail.com>
wrote:
Hi, I'm a beginner to CMake and for weeks I've been trying to compile a CMake
file which I found on a github repository. All I can say is I have a
CMakeLists.txt file but I don't know how to compile and I hope someone can help
?
Christopher
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake