early-access version 2853
This commit is contained in:
10
externals/vcpkg/ports/anax/Add-bin-output.patch
vendored
Executable file
10
externals/vcpkg/ports/anax/Add-bin-output.patch
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
--- a/CMakeLists.txt Tue Oct 13 13:47:40 2015
|
||||
+++ b/CMakeLists.txt Tue Dec 06 11:13:23 2016
|
||||
@@ -161,6 +161,7 @@
|
||||
# Library files
|
||||
install(
|
||||
TARGETS ${ANAX_LIBRARY_NAME}
|
||||
+ RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
15
externals/vcpkg/ports/anax/osx-arm.patch
vendored
Executable file
15
externals/vcpkg/ports/anax/osx-arm.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d427767..80965bc 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -154,10 +154,6 @@ set_target_properties(${ANAX_LIBRARY_NAME} PROPERTIES
|
||||
SOVERSION ${ANAX_VERSION_MAJOR}
|
||||
)
|
||||
|
||||
-if(APPLE)
|
||||
- set_target_properties(${ANAX_LIBRARY_NAME} PROPERTIES OSX_ARCHITECTURES "i386;x86_64;")
|
||||
-endif()
|
||||
-
|
||||
# Library files
|
||||
install(
|
||||
TARGETS ${ANAX_LIBRARY_NAME}
|
||||
26
externals/vcpkg/ports/anax/portfile.cmake
vendored
Executable file
26
externals/vcpkg/ports/anax/portfile.cmake
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO miguelmartin75/anax
|
||||
REF v2.1.0
|
||||
SHA512 b573733b5f9634bf8cfc5b0715074f9a8ee29ecb48dc981d9371254a1f6ff8afbbb9ba6aa0877d53e518e5486ecc398a6d331fb9b5dbfd17d8707679216e11a3
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
Add-bin-output.patch
|
||||
osx-arm.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
14
externals/vcpkg/ports/anax/vcpkg.json
vendored
Executable file
14
externals/vcpkg/ports/anax/vcpkg.json
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "anax",
|
||||
"version": "2.1.0",
|
||||
"port-version": 8,
|
||||
"description": "An open source C++ entity system.",
|
||||
"homepage": "https://github.com/miguelmartin75/anax",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user