A C++ Game Engine written from scratch
Install conan packages
$ mkdir build
$ cd build
$ conan install ..
$ cd ..
This will generate the file ./build/conanbuildinfo.cmake
which is included in
./CMakeLists.txt
.
$ cmake -S . -B build
$ cmake --build build
The library is created in
./build/lib
. Thelib
extension is because of theinclude(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
in./CMakeLists.txt
which addsset(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
andset(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)