Instant messenger.
- Microsoft Visual Studio >= 2019
- CMake 3.29
- C++20
- LLVM Clang(-cl) (TODO: test MSVC)
- vcpkg
Open Vert Desktop Folder Visual Studio
Go to Tools -> Options...
Find CMake -> General, set custom CMake Executable Directory
Press OK
Install all dependencies using vcpkg:
vcpkg integrate install
vcpkg install opengl:x64-windows-static
vcpkg install glfw3:x64-windows-static
vcpkg install imgui[core,opengl3-binding,glfw-binding]:x64-windows-static
vcpkg install spdlog:x64-windows-static
vcpkg install nlohmann-json:x64-windows-static
MAKE SURE YOU SET ALL THE PATHS IN CMakeSettings.json CORRECTLY! (for example, vcpkg toolchain path, dependencies paths etc.)
Configure CMake with vcpkg toolchain file (I'm lazy to show you how, sorry) and press Build
Done!
- CMake 3.29
- C++20
- LLVM Clang++18
- vcpkg (x64-linux triplet)
Open Terminal in your Vert Desktop Folder
Install all dependencies using vcpkg:
vcpkg integrate install
vcpkg install opengl:x64-linux
vcpkg install glfw3:x64-linux
vcpkg install imgui[core,opengl3-binding,glfw-binding]:x64-linux
vcpkg install spdlog:x64-linux
vcpkg install nlohmann-json:x64-linux
(Modify this command for proper configuring)
/usr/bin/cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_TOOLCHAIN_FILE:STRING=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_ROOT:STRING=/opt/vcpkg -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -S/path/to/project -B/path/to/project/build -G Ninja
/usr/bin/cmake --build /path/to/project/build --config Debug --target all --
Done!