This project requires the following libraries:
To configure the project using CMake, run the following command:
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX=install -DASTRE_BUILD_TESTS=ON -S .: Specifies the source directory.-B build: Specifies the build directory.-G "Visual Studio 17 2022": Use Visual Studio generator-A x64: Sets the target architecture to 64-bit-DASTRE_BUILD_TESTS=ON: Enables tests.-DCMAKE_INSTALL_PREFIX=install: Specifies install directory.
To build the project in Debug Mode, use:
cmake --build build --config DebugThis will compile the project with debugging enabled.
To build the project in Release Mode with Debug info enabled, use:
cmake --build build --config RelWithDebInfoTo build the project in Release Mode, use:
cmake --build build --config ReleaseTo install project in Debug Mode, use:
cmake --build build --config Debug --target installThis will install the project with debugging enabled.
To install project in Release Mode, use:
cmake --build build --config Release --target install{
"version": "2.0.0",
"tasks": [
{
"label": "CMake: Configure (VS2022 x64)",
"type": "shell",
"command": "cmake",
"args": [
"-S",
".",
"-B",
"build",
"-G",
"Visual Studio 17 2022",
"-A",
"x64",
"-DCMAKE_INSTALL_PREFIX=install"
],
"group": "build",
"problemMatcher": [],
"detail": "Configure the project using CMake and Visual Studio 2022 (x64)"
},
{
"label": "CMake: Build & Install (Debug)",
"type": "shell",
"command": "cmake",
"args": [
"--build",
"build",
"--config",
"Debug",
"--target",
"install",
"-j",
"4"
],
"dependsOn": [
"CMake: Configure (VS2022 x64)"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"detail": "Build and install the project using Debug configuration"
}
]
}./install/bin/AstreGame.exe./install/bin/AstreEditor.exe