Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发版0.5 #225

Open
wants to merge 130 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
e99e979
Delete unused code
xmmmmmovo Jun 10, 2023
b199222
更新
xmmmmmovo Jul 4, 2023
f46d3cc
开始重构
xmmmmmovo Jul 9, 2023
e1fa563
Merge pull request #197 from TaixuEngineGroup/gui
xmmmmmovo Jul 9, 2023
7811391
重构json框架
xmmmmmovo Jul 10, 2023
05719a2
Json 解析器完成
xmmmmmovo Jul 11, 2023
6d4bdc2
Merge pull request #198 from TaixuEngineGroup/refactor
xmmmmmovo Jul 11, 2023
1d5d0c3
refactor the code structure
xmmmmmovo Jul 23, 2023
443dcc2
Merge pull request #199 from TaixuEngineGroup/refactor
xmmmmmovo Jul 23, 2023
44903e3
remove light code, update opengl version
xmmmmmovo Jul 23, 2023
d00d7cd
Merge pull request #200 from TaixuEngineGroup/refactor
xmmmmmovo Jul 23, 2023
2295645
更新tool
xmmmmmovo Jul 24, 2023
1abb956
Merge pull request #201 from TaixuEngineGroup/refactor
xmmmmmovo Jul 24, 2023
450de40
Add texture compress algorithm
xmmmmmovo Jul 24, 2023
0f4b6c0
Remove Path.hpp
xmmmmmovo Aug 3, 2023
f08c3aa
Upgrade Jolt version
xmmmmmovo Oct 12, 2023
da1f0e9
重新封装
xmmmmmovo Oct 12, 2023
4b43880
discard opengl 4.1
xmmmmmovo Oct 17, 2023
6a135b9
remove unused lines and refactor
xmmmmmovo Oct 17, 2023
25b4b36
重构cmake
xmmmmmovo Oct 18, 2023
d2e4c4b
Fix cmake bug in test
xmmmmmovo Nov 6, 2023
7a7c135
Remove path include to pass the compile
xmmmmmovo Nov 6, 2023
59022c4
开始重构
xmmmmmovo Nov 14, 2023
7be0605
Fix cmake bug
xmmmmmovo Nov 14, 2023
5f63d5e
更新封装log
xmmmmmovo Nov 27, 2023
42f0be8
refactor
xmmmmmovo Nov 30, 2023
be1c0d4
更新依赖
xmmmmmovo Dec 28, 2023
566af79
Committing clang-format changes
Dec 28, 2023
33b4efc
merge version
xmmmmmovo Jan 3, 2024
ee4e091
update vscode settings
xmmmmmovo Jan 3, 2024
fd3e26e
update lint action file
xmmmmmovo Jan 3, 2024
1e6528b
Committing clang-format changes
Jan 3, 2024
1d20849
Merge pull request #207 from xmmmmmovo/refactor
xmmmmmovo Jan 3, 2024
1e7f222
更新HLSL自动编译
xmmmmmovo Jan 4, 2024
2cbf98c
Committing clang-format changes
Jan 4, 2024
0671a41
Merge pull request #212 from xmmmmmovo/refactor
xmmmmmovo Jan 4, 2024
cf389d8
fix resource move bug
xmmmmmovo Jan 4, 2024
59bfd1f
适配SB至极的wchar问题
xmmmmmovo Jan 5, 2024
3c6e134
抽象abstract_factory
xmmmmmovo Jan 6, 2024
7dd147e
排查windows.h导致的编译问题,解决
xmmmmmovo Jan 7, 2024
2d98808
重整项目结构,切换渲染API为DX11
xmmmmmovo Jan 11, 2024
c2abd83
Committing clang-format changes
Jan 11, 2024
cfc6907
Merge pull request #213 from xmmmmmovo/refactor
xmmmmmovo Jan 11, 2024
395b520
update license
xmmmmmovo Jan 11, 2024
fd9d918
Add CPM cache
xmmmmmovo Jan 13, 2024
ec512b3
update CI system
xmmmmmovo Jan 13, 2024
b0189d1
更新windows.h,增加PCH
xmmmmmovo Jan 13, 2024
0f37484
更新dx11和vulkan cmake,更新CPM版本
xmmmmmovo Jan 13, 2024
f6982c7
fix: 修复宏定义漏洞
xmmmmmovo Jan 13, 2024
67373cd
更新cmake文件
xmmmmmovo Jan 13, 2024
6fe507f
fix: lint fix in imgui_surface.hpp
xmmmmmovo Jan 13, 2024
5cfb23e
更新windows.h位置
xmmmmmovo Jan 13, 2024
23d93d7
dx11 相关适配
xmmmmmovo Jan 13, 2024
69da19d
更新trace代码
xmmmmmovo Jan 13, 2024
4c12108
fix: 修复imgui未链接问题,修复dx11编译错误问题
xmmmmmovo Jan 13, 2024
7574454
fix: ci
xmmmmmovo Jan 13, 2024
c2fd49e
Committing clang-format changes
Jan 13, 2024
ae882fa
fix: ci
xmmmmmovo Jan 13, 2024
acaea4c
Merge branch 'refactor' of github.com:TaixuEngineGroup/TaixuEngine in…
xmmmmmovo Jan 13, 2024
f5b4433
feat: ci
xmmmmmovo Jan 13, 2024
d891041
fix: tidy workflow
xmmmmmovo Jan 14, 2024
bdcb191
Merge pull request #214 from xmmmmmovo/refactor
xmmmmmovo Jan 14, 2024
cb2b503
fix warnings
xmmmmmovo Jan 14, 2024
63312d7
docs: 增加架构图
xmmmmmovo Jan 14, 2024
cec2a0a
fix: ci warning
xmmmmmovo Jan 14, 2024
cdde5cb
feat: init dx11
xmmmmmovo Jan 15, 2024
6e83daf
Committing clang-format changes
Jan 15, 2024
3c67c3f
迁移原生Windows库到GLFW
xmmmmmovo Jan 15, 2024
63e2c5b
Merge pull request #216 from xmmmmmovo/refactor
xmmmmmovo Jan 15, 2024
3bb123d
Committing clang-format changes
Jan 15, 2024
879b064
refactor: [rhi]封装RHI,结合imgui
xmmmmmovo Jan 18, 2024
b24348e
refactor: 分离include 和 src
xmmmmmovo Jan 25, 2024
20a6fbc
refactor: [rhi]添加shadermodule
xmmmmmovo Jan 30, 2024
78b46a9
style: [ecs] 规范代码
xmmmmmovo Feb 3, 2024
6d9ba19
refactor: 重构dx11 buffer
xmmmmmovo Feb 12, 2024
2940680
refactor: 封装buffer
xmmmmmovo Feb 13, 2024
c7eaed2
refactor: 更新imgui
xmmmmmovo Feb 16, 2024
ba8d613
refactor: 增加主题
xmmmmmovo Feb 16, 2024
c422792
style: 更改格式
xmmmmmovo Feb 16, 2024
c1cd76c
perf: 压缩字体
xmmmmmovo Feb 16, 2024
def544b
perf: 优化代码
xmmmmmovo Feb 17, 2024
c8c5717
Merge pull request #219 from xmmmmmovo/refactor
xmmmmmovo Feb 17, 2024
e4c1178
fix: [ci]修改编码为utf-8
xmmmmmovo Feb 17, 2024
f07d6e9
fix: [ci] filter files
xmmmmmovo Feb 17, 2024
dabc96b
Committing clang-format changes
Feb 17, 2024
3918014
perf: [ci] remove tidy
xmmmmmovo Feb 17, 2024
dae6fe2
Merge pull request #220 from xmmmmmovo/refactor
xmmmmmovo Feb 17, 2024
63221b5
fix: 修复imgui绘制问题
xmmmmmovo Feb 17, 2024
0be8479
refactor: 继续重构RHI,完善imgui组件代码
xmmmmmovo Feb 22, 2024
f83f5c6
Committing clang-format changes
Feb 22, 2024
86c4bc2
Merge pull request #221 from xmmmmmovo/refactor
xmmmmmovo Feb 22, 2024
da31f5a
style: renderer style
xmmmmmovo Feb 22, 2024
fcd57c9
refactor: 暴露RHI层
xmmmmmovo Feb 22, 2024
69bed61
refactor: 增加菜单界面
xmmmmmovo Feb 22, 2024
6a452f1
refactor: 删除无用函数
xmmmmmovo Feb 22, 2024
ba38555
Merge pull request #222 from xmmmmmovo/refactor
xmmmmmovo Feb 22, 2024
b279a15
docs: README.md
xmmmmmovo Feb 22, 2024
63b97dc
ci: remove main branch lint ci
xmmmmmovo Feb 27, 2024
7a0673a
Merge pull request #224 from xmmmmmovo/refactor
xmmmmmovo Feb 27, 2024
d700ec3
fix: 修复测试无法编译的bug
xmmmmmovo Feb 29, 2024
9ce223c
Update readme.md
xmmmmmovo Feb 29, 2024
18b5624
refactor: 重构3rdparty,修复渲染
xmmmmmovo Mar 1, 2024
17cc509
refactor: 更新json parser
xmmmmmovo Mar 2, 2024
1c069f3
Committing clang-format changes
Mar 2, 2024
a4166f6
Merge pull request #226 from xmmmmmovo/refactor
xmmmmmovo Mar 2, 2024
6c6fc18
perf: 删除冗余代码
xmmmmmovo Mar 2, 2024
7387e53
refactor: 优化代码逻辑,增加dialog相关代码
xmmmmmovo Mar 3, 2024
8701f4e
refactor: 启动加载项目
xmmmmmovo Mar 3, 2024
4114502
refactor: [editor] 完成常用控件,适配高dpi
xmmmmmovo Mar 5, 2024
a0c78f5
refactor: 适配文件界面
xmmmmmovo Mar 10, 2024
05f31f5
Merge pull request #227 from xmmmmmovo/refactor
xmmmmmovo Mar 10, 2024
645e5e0
refactor: [editor] 删除无用组件,更新界面
xmmmmmovo Mar 10, 2024
ff24a39
refactor: [editor] 删除无用代码,完成side toolbar
xmmmmmovo Mar 11, 2024
bb91402
refactor: 删除无用dx11文件,更新文件结构
xmmmmmovo Mar 11, 2024
c953b25
refactor: 优化RHI
xmmmmmovo Mar 11, 2024
8819fce
refactor: 删除无用代码,修复gitignore过滤掉的代码
xmmmmmovo Mar 12, 2024
349a428
refactor: 更新界面,增加材质相关代码
xmmmmmovo Mar 14, 2024
673b7d7
fix: 修复font编码格式
xmmmmmovo Mar 14, 2024
ddb9bdd
Committing clang-format changes
Mar 14, 2024
5c15ef4
Merge pull request #228 from xmmmmmovo/refactor
xmmmmmovo Mar 14, 2024
24e45f5
[misc] 移除无用语句
xmmmmmovo Mar 31, 2024
b5fb293
fix: 修复未上传的代码
xmmmmmovo Apr 2, 2024
ddd2e86
fix: 修复未上传文件的问题
xmmmmmovo Apr 2, 2024
d7b81c6
Merge pull request #229 from xmmmmmovo/refactor
xmmmmmovo Apr 2, 2024
8a0ccaa
docs: add copyrights
xmmmmmovo Apr 27, 2024
a88c375
feat: 更新cmake
xmmmmmovo Jun 2, 2024
b922e1f
feat(refactor): 重构RHI,删除整个中间层
xmmmmmovo Jul 10, 2024
418c7bd
feat(refactor): 重构
xmmmmmovo Jul 14, 2024
3ff7a88
Committing clang-format changes
Jul 14, 2024
9f29469
Merge pull request #231 from xmmmmmovo/refactor
xmmmmmovo Jul 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ BreakInheritanceList: BeforeColon
CompactNamespaces: false
ContinuationIndentWidth: 8
IndentCaseLabels: true
IndentPPDirectives: None
IndentPPDirectives: BeforeHash
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PointerAlignment: Right
ReflowComments: false
PointerAlignment: Left
ReflowComments: true
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
Expand Down
63 changes: 22 additions & 41 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Checks: >
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
portability-simd-intrinsics,

readability-braces-around-statements,
readability-identifier-length,
readability-magic-numbers,
readability-named-parameter,
readability-redundant-declaration,
Expand Down Expand Up @@ -218,43 +218,24 @@ Checks: >
WarningsAsErrors: "*"

CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.TemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: aNy_CasE
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.ClassMemberCase
value: lower_case
- key: readability-identifier-naming.ClassMemberPrefix
value: _
- key: readability-identifier-naming.ClassMethodCase
value: camelBack
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ConstexprVariableCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.MemberConstantCase
value: CamelCase
- key: readability-identifier-naming.MemberConstantPrefix
value: k
- key: readability-identifier-naming.StaticConstantCase
value: CamelCase
- key: readability-identifier-naming.StaticConstantPrefix
value: k
- key: readability-function-cognitive-complexity.IgnoreMacros
value: 1
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.UsingCase
value: CamelCase
readability-identifier-naming.NamespaceCase: lower_case
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.TemplateParameterCase: CamelCase
readability-identifier-naming.FunctionCase: aNy_CasE
readability-identifier-naming.VariableCase: lower_case
readability-identifier-naming.ClassMemberCase: lower_case
readability-identifier-naming.PrivateMemberPrefix: _
readability-identifier-naming.ClassMethodCase: camelBack
readability-identifier-naming.EnumConstantCase: UPPER_CASE
readability-identifier-naming.ConstexprVariableCase: UPPER_CASE
readability-identifier-naming.GlobalConstantCase: UPPER_CASE
readability-identifier-naming.MemberConstantCase: lower_case
readability-identifier-naming.MemberConstantPrefix: k
readability-identifier-naming.StaticConstantCase: lower_case
readability-identifier-naming.StaticConstantPrefix: k
readability-function-cognitive-complexity.IgnoreMacros: true
readability-identifier-naming.TypedefCase: CamelCase
readability-identifier-naming.UnionCase: CamelCase
readability-identifier-naming.UsingCase: CamelCase
misc-non-private-member-variables-in-classes: IgnorePublicMemberVariables
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
**/3rdparty/glad/** linguist-vendored
**/3rdparty/imgui/** linguist-vendored
**/3rdparty/stb/** linguist-vendored
Binary file added .github/images/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 6 additions & 11 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Lint Cpp
name: Format and Lint Cpp

on:
pull_request:
branches-ignore:
- main
paths:
- "engine/**"

jobs:
foramt:
format:
name: Clang Format
runs-on: ubuntu-latest
steps:
Expand All @@ -17,7 +19,7 @@ jobs:
- uses: DoozyX/clang-format-lint-action@v0.16.1
with:
source: './engine'
exclude: './engine/assets ./engine/shaders'
exclude: './engine/assets ./engine/shaders *font'
extensions: 'hpp,cpp,inl'
clangFormatVersion: 16
inplace: True
Expand All @@ -27,11 +29,4 @@ jobs:
author_email: robot@example.com
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.TAIXU_GITHUB_TOKEN }}

lint:
name: Clang Tidy
needs: foramt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
GITHUB_TOKEN: ${{ secrets.TAIXU_GITHUB_TOKEN }}
77 changes: 2 additions & 75 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
3rdparty/vcpkg
3rdparty/vcpkg_installed
build
generated
bin
.idea/*
engine/runtime/core/base/path.hpp
.idea
.cpm_cache

# Created by https://www.toptal.com/developers/gitignore/api/cmake,visualstudio,visualstudiocode,c++,c,jetbrains,clion
# Edit at https://www.toptal.com/developers/gitignore?templates=cmake,visualstudio,visualstudiocode,c++,c,jetbrains,clion
Expand Down Expand Up @@ -59,77 +57,6 @@ _deps
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff

# AWS User-specific

# Generated files

# Sensitive or high-churn files

# Gradle

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake

# Mongo Explorer plugin

# File-based project format

# IntelliJ

# mpeltonen/sbt-idea plugin

# JIRA plugin

# Cursive Clojure plugin

# SonarLint plugin

# Crashlytics plugin (for Android Studio and IntelliJ)

# Editor-based Rest Client

# Android studio 3.1+ serialized cache file

### JetBrains Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream

# Azure Toolkit for IntelliJ plugin
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
Expand Down
129 changes: 33 additions & 96 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,100 +7,37 @@
"**/build": true,
"**/3rdparty": true
},
"files.associations": {
"memory": "cpp",
"algorithm": "cpp",
"any": "cpp",
"array": "cpp",
"atomic": "cpp",
"bit": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"charconv": "cpp",
"chrono": "cpp",
"cinttypes": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"codecvt": "cpp",
"compare": "cpp",
"complex": "cpp",
"concepts": "cpp",
"condition_variable": "cpp",
"coroutine": "cpp",
"csignal": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"deque": "cpp",
"exception": "cpp",
"filesystem": "cpp",
"format": "cpp",
"forward_list": "cpp",
"fstream": "cpp",
"functional": "cpp",
"future": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"iterator": "cpp",
"limits": "cpp",
"list": "cpp",
"locale": "cpp",
"map": "cpp",
"mutex": "cpp",
"new": "cpp",
"numeric": "cpp",
"optional": "cpp",
"ostream": "cpp",
"queue": "cpp",
"random": "cpp",
"ranges": "cpp",
"ratio": "cpp",
"regex": "cpp",
"set": "cpp",
"shared_mutex": "cpp",
"span": "cpp",
"sstream": "cpp",
"stack": "cpp",
"stdexcept": "cpp",
"stop_token": "cpp",
"streambuf": "cpp",
"string": "cpp",
"system_error": "cpp",
"thread": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeindex": "cpp",
"typeinfo": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"utility": "cpp",
"valarray": "cpp",
"variant": "cpp",
"vector": "cpp",
"xfacet": "cpp",
"xhash": "cpp",
"xiosbase": "cpp",
"xlocale": "cpp",
"xlocbuf": "cpp",
"xlocinfo": "cpp",
"xlocmes": "cpp",
"xlocmon": "cpp",
"xlocnum": "cpp",
"xloctime": "cpp",
"xmemory": "cpp",
"xstddef": "cpp",
"xstring": "cpp",
"xtr1common": "cpp",
"xtree": "cpp",
"xutility": "cpp"
}
"C_Cpp.errorSquiggles": "disabled",
"C_Cpp.intelliSenseEngineFallback": "disabled",
"C_Cpp.intelliSenseEngine": "disabled",
"clangd.onConfigChanged": "restart",
"clangd.arguments": [
// 全局补全(输入时弹出的建议将会提供 CMakeLists.txt 里配置的所有文件中可能的符号,会自动补充头文件)
"--all-scopes-completion",
// 建议风格:打包(重载函数只会给出一个建议)
// 相反可以设置为detailed
"--completion-style=bundled",
// 跨文件重命名变量
"--cross-file-rename",
// 允许补充头文件
"--header-insertion=never",
// 输入建议中,已包含头文件的项与还未包含头文件的项会以圆点加以区分
"--header-insertion-decorators",
// 在后台自动分析文件(基于 complie_commands,我们用CMake生成)
"--background-index",
// 启用 Clang-Tidy 以提供「静态检查」
"--clang-tidy",
// 同时开启的任务数量
"-j=16",
// pch优化的位置(memory 或 disk,选择memory会增加内存开销,但会提升性能) 推荐在板子上使用disk
"--pch-storage=memory",
// 启用这项时,补全函数时,将会给参数提供占位符,键入后按 Tab 可以切换到下一占位符,乃至函数末
"--function-arg-placeholders=false",
// compelie_commands.json 文件的目录位置(相对于工作区,由于 CMake 生成的该文件默认在 build 文件夹中,故设置为 build)
"--compile-commands-dir=build"
],
"cmake.generator": "Ninja",
"cmake.configureSettings": {
"CMAKE_EXPORT_COMPILE_COMMANDS": 1,
},
}
1 change: 1 addition & 0 deletions 3rdparty/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!bin
24 changes: 9 additions & 15 deletions 3rdparty/FindAssimp.cmake
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
if(APPLE)
# TODO: Delete this line after assimp group fix this issue: #4864 #3933
# Just for my mac
link_directories(/opt/homebrew/Cellar/minizip/1.2.13/lib)
endif(APPLE)

# assimp
CPMAddPackage(
NAME assimp
GITHUB_REPOSITORY assimp/assimp
GIT_TAG v5.2.5
OPTIONS
"ASSIMP_WARNINGS_AS_ERRORS OFF"
"ASSIMP_BUILD_TESTS Off"
"ASSIMP_BUILD_EXAMPLES Off"
"ASSIMP_BUILD_DOCS Off"
"ASSIMP_INSTALL_PDB Off"
NAME assimp
GITHUB_REPOSITORY assimp/assimp
GIT_TAG 5d5496f1ad895297cede723b3c96b513263f82ed
OPTIONS
"ASSIMP_WARNINGS_AS_ERRORS OFF"
"ASSIMP_BUILD_TESTS Off"
"ASSIMP_BUILD_EXAMPLES Off"
"ASSIMP_BUILD_DOCS Off"
"ASSIMP_INSTALL_PDB Off"
)
Loading