https://github.com/seantolstoyevski/u1
A simple project example showing the usage of VCPKG, Boost, and MSVC together
https://github.com/seantolstoyevski/u1
boost cmake msvc vcpkg
Last synced: about 1 month ago
JSON representation
A simple project example showing the usage of VCPKG, Boost, and MSVC together
- Host: GitHub
- URL: https://github.com/seantolstoyevski/u1
- Owner: SeanTolstoyevski
- Created: 2023-09-11T12:01:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T06:25:40.000Z (over 1 year ago)
- Last Synced: 2025-01-28T16:14:32.634Z (3 months ago)
- Topics: boost, cmake, msvc, vcpkg
- Language: CMake
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# U1 - Example for VCPKG, CMake and Boost usage
U1 is a simple example demonstrating the combined usage of Boost, CMake, and VCPKG. It is a program that displays random UUID values on the screen using Boost's UUID sublibrary.
To compile this project on your system, ensure the following dependencies are installed:
* vcpkg
- boost
* cmake
* msvc / gcc / llvm## compilation steps
Please note that certain parameters in the following steps may vary depending on your system configuration. After cloning the project, execute these steps, customizing them to match your own system:
1. `cd u1`
2. `mkdir build`
3. `cd build`
4. `cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=d:\projs\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static ..`
5. `cmake --build .`## Important Note
CMake is a very large and complex tool. Please note that this is a simple example.