浏览代码

基础版本编译成功

zc 8 月之前
父节点
当前提交
d87065c869
共有 2 个文件被更改,包括 37 次插入0 次删除
  1. 31 0
      .gitignore
  2. 6 0
      cmake/external/kimageformats/CMakeLists.txt

+ 31 - 0
.gitignore

@@ -0,0 +1,31 @@
+# Build output directory
+out/
+out/*
+
+# Patches directory
+patches/
+patches/*
+
+# VS Code settings
+.vscode/
+.vscode/*
+
+# CMake build files
+CMakeFiles/
+*.cmake
+CMakeCache.txt
+compile_commands.json
+
+# Build artifacts
+*.obj
+*.pdb
+*.ilk
+*.exp
+*.lib
+*.dll
+*.exe
+*.log
+
+# OS specific
+.DS_Store
+Thumbs.db 

+ 6 - 0
cmake/external/kimageformats/CMakeLists.txt

@@ -33,6 +33,12 @@ PRIVATE
     QT_STATICPLUGIN
 )
 
+target_include_directories(external_kimageformats SYSTEM
+PRIVATE
+    ${libs_loc}/local/include
+    ${libs_loc}/local/include/jxl
+)
+
 target_link_libraries(external_kimageformats
 PRIVATE
     desktop-app::external_qt