refactor(cmake): removed vcpkg
This commit is contained in:
parent
6d95cc8e1a
commit
12fc8906bc
7 changed files with 0 additions and 124 deletions
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"configurePresets": [
|
|
||||||
{
|
|
||||||
"name": "vcpkg",
|
|
||||||
"generator": "Visual Studio 17 2022",
|
|
||||||
"binaryDir": "${sourceDir}/build",
|
|
||||||
"cacheVariables": {
|
|
||||||
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vcpkg-linux",
|
|
||||||
"generator": "Ninja",
|
|
||||||
"binaryDir": "${sourceDir}/build",
|
|
||||||
"cacheVariables": {
|
|
||||||
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"configurePresets": [
|
|
||||||
{
|
|
||||||
"name": "default",
|
|
||||||
"inherits": "vcpkg",
|
|
||||||
"environment": {
|
|
||||||
"VCPKG_ROOT": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\vcpkg\\vcpkg.exe"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
{
|
|
||||||
"default-registry": {
|
|
||||||
"kind": "git",
|
|
||||||
"baseline": "0c4cf19224a049cf82f4521e29e39f7bd680440c",
|
|
||||||
"repository": "https://github.com/microsoft/vcpkg"
|
|
||||||
},
|
|
||||||
"registries": [
|
|
||||||
{
|
|
||||||
"kind": "artifact",
|
|
||||||
"location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
|
|
||||||
"name": "microsoft"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"overlay-ports": [
|
|
||||||
"./vcpkg-overlays"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
||||||
|
|
||||||
vcpkg_from_github(
|
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
|
||||||
REPO DanielChappuis/reactphysics3d
|
|
||||||
REF "cd958bbc0c6e84a869388cba6613f10cc645b3cb"
|
|
||||||
SHA512 9856c0e998473e0bfb97af9ced07952bbd4dfef79f7dc388b1ecf9b6c6406f7669333e441fe6cefdf40b32edc5a1b8e4cb35a8c15fccb64c28785aff5fd77113
|
|
||||||
HEAD_REF master
|
|
||||||
PATCHES "std_chrono.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
|
||||||
)
|
|
||||||
|
|
||||||
vcpkg_cmake_install()
|
|
||||||
|
|
||||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "reactphysics3d" CONFIG_PATH "lib/cmake/ReactPhysics3D")
|
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
||||||
|
|
||||||
# file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
||||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff --git a/include/reactphysics3d/utils/DefaultLogger.h b/include/reactphysics3d/utils/DefaultLogger.h
|
|
||||||
index 1088d1e..8360f07 100644
|
|
||||||
--- a/include/reactphysics3d/utils/DefaultLogger.h
|
|
||||||
+++ b/include/reactphysics3d/utils/DefaultLogger.h
|
|
||||||
@@ -37,6 +37,7 @@
|
|
||||||
#include <iomanip>
|
|
||||||
#include <mutex>
|
|
||||||
#include <ctime>
|
|
||||||
+#include <chrono>
|
|
||||||
|
|
||||||
/// ReactPhysics3D namespace
|
|
||||||
namespace reactphysics3d {
|
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"name": "reactphysics3d",
|
|
||||||
"version": "0.10.2",
|
|
||||||
"homepage": "https://github.com/DanielChappuis/reactphysics3d",
|
|
||||||
"description": "Open source C++ physics engine library in 3D",
|
|
||||||
"license": "zlib",
|
|
||||||
"dependencies": [
|
|
||||||
{
|
|
||||||
"name" : "vcpkg-cmake",
|
|
||||||
"host" : true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name" : "vcpkg-cmake-config",
|
|
||||||
"host" : true
|
|
||||||
},
|
|
||||||
"fmt"
|
|
||||||
]
|
|
||||||
}
|
|
20
vcpkg.json
20
vcpkg.json
|
@ -1,20 +0,0 @@
|
||||||
{
|
|
||||||
"dependencies": [
|
|
||||||
"glew",
|
|
||||||
"glfw3",
|
|
||||||
"glm",
|
|
||||||
{ "name": "pugixml", "version>=": "1.15" },
|
|
||||||
"sdl2",
|
|
||||||
"stb",
|
|
||||||
"reactphysics3d",
|
|
||||||
"pkgconf",
|
|
||||||
"luajit",
|
|
||||||
"freetype"
|
|
||||||
],
|
|
||||||
"overrides": [
|
|
||||||
{
|
|
||||||
"name": "sdl2",
|
|
||||||
"version": "2.32.4"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue