🎉 Added OGRE 13.2
This commit is contained in:
parent
8c2d339585
commit
23b026d664
26
.github/workflows/conan-pkg.yml
vendored
26
.github/workflows/conan-pkg.yml
vendored
@ -12,19 +12,19 @@ jobs:
|
|||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
# - name: Ubuntu Debug
|
- name: Ubuntu Debug
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# conan-profile: ubuntu-debug
|
conan-profile: ubuntu-debug
|
||||||
# - name: Ubuntu Release
|
- name: Ubuntu Release
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# conan-profile: ubuntu-release
|
conan-profile: ubuntu-release
|
||||||
|
|
||||||
# - name: Windows 2016 Debug
|
- name: Windows 2016 Debug
|
||||||
# os: windows-2016
|
os: windows-2016
|
||||||
# conan-profile: vs-2016-debug
|
conan-profile: vs-2016-debug
|
||||||
# - name: Windows 2016 Release
|
- name: Windows 2016 Release
|
||||||
# os: windows-2016
|
os: windows-2016
|
||||||
# conan-profile: vs-2016-release
|
conan-profile: vs-2016-release
|
||||||
|
|
||||||
- name: Windows 2022 Debug
|
- name: Windows 2022 Debug
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
shell: cmake -P {0}
|
shell: cmake -P {0}
|
||||||
run: |
|
run: |
|
||||||
file(MAKE_DIRECTORY $ENV{DXSDK_DIR})
|
file(MAKE_DIRECTORY $ENV{DXSDK_DIR})
|
||||||
file(DOWNLOAD http://prdownloads.sourceforge.net/rigs-of-rods/DirectX-SDK.zip "$ENV{TMP}/DirectX.zip" SHOW_PROGRESS)
|
file(DOWNLOAD https://cdn.anotherfoxguy.com/DirectX-SDK.zip "$ENV{TMP}/DirectX.zip" SHOW_PROGRESS)
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xzf "$ENV{TMP}/DirectX.zip" WORKING_DIRECTORY "$ENV{DXSDK_DIR}")
|
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xzf "$ENV{TMP}/DirectX.zip" WORKING_DIRECTORY "$ENV{DXSDK_DIR}")
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
|
@ -1,21 +1,12 @@
|
|||||||
sources:
|
sources:
|
||||||
"13.0.0":
|
"13.2.0":
|
||||||
url: "https://github.com/OGRECave/ogre/archive/refs/tags/v13.0.0.tar.gz"
|
url: "https://github.com/OGRECave/ogre/archive/refs/tags/v13.2.0.tar.gz"
|
||||||
sha256: "404c91b0ab27edb45a643bc268143589c8f5160125d531cbf5d958fa55136063"
|
sha256: "1bcac0915116c6fa2435f30a016b0225d146785481c927b70d995ea459de5b6a"
|
||||||
"13.0.1":
|
|
||||||
url: "https://github.com/OGRECave/ogre/archive/refs/tags/v13.0.1.tar.gz"
|
|
||||||
sha256: "8d31a79d37f74e5af25e56a0a70928079e771f7cea50ef041e04bf235c3f701a"
|
|
||||||
patches:
|
patches:
|
||||||
"13.0.0":
|
"13.2.0":
|
||||||
- patch_file: "patches/13.0.0/CMakeLists.txt.patch"
|
- patch_file: "patches/13.2.0/CMakeLists.txt.patch"
|
||||||
- patch_file: "patches/13.0.0/pugixml-fix.patch"
|
- patch_file: "patches/13.2.0/pugixml-fix.patch"
|
||||||
- patch_file: "patches/13.0.0/FindPkgMacros.cmake.patch"
|
- patch_file: "patches/13.2.0/FindPkgMacros.cmake.patch"
|
||||||
- patch_file: "patches/13.0.1/FixFindOpenGLES2.cmake.patch"
|
|
||||||
"13.0.1":
|
|
||||||
- patch_file: "patches/13.0.1/CMakeLists.txt.patch"
|
|
||||||
- patch_file: "patches/13.0.1/pugixml-fix.patch"
|
|
||||||
- patch_file: "patches/13.0.1/FindPkgMacros.cmake.patch"
|
|
||||||
- patch_file: "patches/13.0.1/FixFindOpenGLES2.cmake.patch"
|
|
||||||
requirements:
|
requirements:
|
||||||
- "zlib/[1.x]"
|
- "zlib/[1.x]"
|
||||||
- "zziplib/[0.13.x]"
|
- "zziplib/[0.13.x]"
|
||||||
|
@ -21,6 +21,10 @@ class OGREConan(ConanFile):
|
|||||||
installer = SystemPackageTool()
|
installer = SystemPackageTool()
|
||||||
installer.install("libx11-dev")
|
installer.install("libx11-dev")
|
||||||
installer.install("libxaw7-dev")
|
installer.install("libxaw7-dev")
|
||||||
|
installer.install("libxrandr-dev")
|
||||||
|
installer.install("libgles2-mesa-dev")
|
||||||
|
installer.install("libvulkan-dev")
|
||||||
|
installer.install("glslang-dev")
|
||||||
|
|
||||||
def source(self):
|
def source(self):
|
||||||
tools.get(**self.conan_data["sources"][self.version], strip_root=True)
|
tools.get(**self.conan_data["sources"][self.version], strip_root=True)
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
--- CMakeLists.txt
|
|
||||||
+++ CMakeLists.txt
|
|
||||||
@@ -71,6 +71,7 @@
|
|
||||||
|
|
||||||
# Include necessary submodules
|
|
||||||
set(CMAKE_MODULE_PATH
|
|
||||||
+ "${CMAKE_BINARY_DIR}"
|
|
||||||
"${PROJECT_SOURCE_DIR}/CMake"
|
|
||||||
"${PROJECT_SOURCE_DIR}/CMake/Utils"
|
|
||||||
"${PROJECT_SOURCE_DIR}/CMake/Packages"
|
|
@ -1,11 +0,0 @@
|
|||||||
--- CMake/Packages/FindOpenGLES2.cmake
|
|
||||||
+++ CMake/Packages/FindOpenGLES2.cmake
|
|
||||||
@@ -23,6 +23,8 @@
|
|
||||||
# EGL_INCLUDE_DIR - the EGL include directory
|
|
||||||
# EGL_LIBRARIES - Link these to use EGL
|
|
||||||
|
|
||||||
+include(FindPkgMacros)
|
|
||||||
+
|
|
||||||
IF(APPLE)
|
|
||||||
create_search_paths(/Developer/Platforms)
|
|
||||||
findpkg_framework(OpenGLES2)
|
|
@ -1,11 +0,0 @@
|
|||||||
--- CMake/Utils/FindPkgMacros.cmake
|
|
||||||
+++ CMake/Utils/FindPkgMacros.cmake
|
|
||||||
@@ -82,7 +82,7 @@
|
|
||||||
if (${PREFIX}_FWK)
|
|
||||||
set(${PREFIX} ${${PREFIX}_FWK})
|
|
||||||
elseif (${PREFIX}_REL AND ${PREFIX}_DBG)
|
|
||||||
- set(${PREFIX} optimized ${${PREFIX}_REL} debug ${${PREFIX}_DBG})
|
|
||||||
+ set(${PREFIX} "$<$<CONFIG:Debug>:${${PREFIX}_DBG}>$<$<NOT:$<CONFIG:Debug>>:${${PREFIX}_REL}>")
|
|
||||||
elseif (${PREFIX}_REL)
|
|
||||||
set(${PREFIX} ${${PREFIX}_REL})
|
|
||||||
elseif (${PREFIX}_DBG)
|
|
@ -1,11 +0,0 @@
|
|||||||
--- CMake/Packages/FindOpenGLES2.cmake
|
|
||||||
+++ CMake/Packages/FindOpenGLES2.cmake
|
|
||||||
@@ -23,6 +23,8 @@
|
|
||||||
# EGL_INCLUDE_DIR - the EGL include directory
|
|
||||||
# EGL_LIBRARIES - Link these to use EGL
|
|
||||||
|
|
||||||
+include(FindPkgMacros)
|
|
||||||
+
|
|
||||||
IF(APPLE)
|
|
||||||
create_search_paths(/Developer/Platforms)
|
|
||||||
findpkg_framework(OpenGLES2)
|
|
@ -1,15 +0,0 @@
|
|||||||
--- Tools/XMLConverter/CMakeLists.txt
|
|
||||||
+++ Tools/XMLConverter/CMakeLists.txt
|
|
||||||
@@ -21,9 +21,10 @@
|
|
||||||
src/OgreXMLSkeletonSerializer.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
+message("Fixing OgreXMLConverter")
|
|
||||||
add_executable(OgreXMLConverter ${HEADER_FILES} ${SOURCE_FILES})
|
|
||||||
-target_include_directories(OgreXMLConverter PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
||||||
-target_link_libraries(OgreXMLConverter OgreMain pugixml)
|
|
||||||
+target_include_directories(OgreXMLConverter PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include ${pugixml_INCLUDE_DIRS})
|
|
||||||
+target_link_libraries(OgreXMLConverter OgreMain pugixml::pugixml)
|
|
||||||
|
|
||||||
if (OGRE_PROJECT_FOLDERS)
|
|
||||||
set_property(TARGET OgreXMLConverter PROPERTY FOLDER Tools)
|
|
@ -1,6 +1,6 @@
|
|||||||
--- CMakeLists.txt
|
--- CMakeLists.txt
|
||||||
+++ CMakeLists.txt
|
+++ CMakeLists.txt
|
||||||
@@ -71,6 +71,7 @@
|
@@ -76,6 +76,7 @@
|
||||||
|
|
||||||
# Include necessary submodules
|
# Include necessary submodules
|
||||||
set(CMAKE_MODULE_PATH
|
set(CMAKE_MODULE_PATH
|
@ -1,9 +1,7 @@
|
|||||||
versions:
|
versions:
|
||||||
"1.11.6.1":
|
"1.11.6.1":
|
||||||
folder: "1.11"
|
folder: "1.11"
|
||||||
"13.0.0":
|
|
||||||
folder: "13"
|
|
||||||
"13.0.1":
|
|
||||||
folder: "13"
|
|
||||||
"1.12.13":
|
"1.12.13":
|
||||||
folder: "1.12"
|
folder: "1.12"
|
||||||
|
"13.2.0":
|
||||||
|
folder: "13"
|
4
tools/cpfd.sh
Executable file
4
tools/cpfd.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
cp $1 $1.org
|
4
tools/diffo.sh
Executable file
4
tools/diffo.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
diff -u $1.org $1 > $1.diff
|
Loading…
x
Reference in New Issue
Block a user