浏览代码

Move all thirdparty deps to thirdparty/ folder

rexim 6 月之前
父节点
当前提交
4611922018
共有 100 个文件被更改,包括 40 次插入38 次删除
  1. 2 0
      nob.c
  2. 2 2
      src/plug.c
  3. 7 7
      src_build/nob_linux.c
  4. 7 7
      src_build/nob_macos.c
  5. 7 7
      src_build/nob_openbsd.c
  6. 1 1
      src_build/nob_stage2.c
  7. 7 7
      src_build/nob_win64_mingw.c
  8. 7 7
      src_build/nob_win64_msvc.c
  9. 0 0
      thirdparty/nob.h
  10. 0 0
      thirdparty/raylib-5.5/.gitignore
  11. 0 0
      thirdparty/raylib-5.5/LICENSE
  12. 0 0
      thirdparty/raylib-5.5/README
  13. 0 0
      thirdparty/raylib-5.5/src/CMakeLists.txt
  14. 0 0
      thirdparty/raylib-5.5/src/Makefile
  15. 0 0
      thirdparty/raylib-5.5/src/config.h
  16. 0 0
      thirdparty/raylib-5.5/src/external/RGFW.h
  17. 0 0
      thirdparty/raylib-5.5/src/external/cgltf.h
  18. 0 0
      thirdparty/raylib-5.5/src/external/dirent.h
  19. 0 0
      thirdparty/raylib-5.5/src/external/dr_flac.h
  20. 0 0
      thirdparty/raylib-5.5/src/external/dr_mp3.h
  21. 0 0
      thirdparty/raylib-5.5/src/external/dr_wav.h
  22. 0 0
      thirdparty/raylib-5.5/src/external/glad.h
  23. 0 0
      thirdparty/raylib-5.5/src/external/glad_gles2.h
  24. 0 0
      thirdparty/raylib-5.5/src/external/glfw/.mailmap
  25. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/GenerateMappings.cmake
  26. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/Info.plist.in
  27. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/cmake_uninstall.cmake.in
  28. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/glfw3.pc.in
  29. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/glfw3Config.cmake.in
  30. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/i686-w64-mingw32-clang.cmake
  31. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/i686-w64-mingw32.cmake
  32. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/modules/FindEpollShim.cmake
  33. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/modules/FindOSMesa.cmake
  34. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/x86_64-w64-mingw32-clang.cmake
  35. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMake/x86_64-w64-mingw32.cmake
  36. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CMakeLists.txt
  37. 0 0
      thirdparty/raylib-5.5/src/external/glfw/CONTRIBUTORS.md
  38. 0 0
      thirdparty/raylib-5.5/src/external/glfw/LICENSE.md
  39. 0 0
      thirdparty/raylib-5.5/src/external/glfw/README.md
  40. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/getopt.c
  41. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/getopt.h
  42. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/glad/gl.h
  43. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/glad/gles2.h
  44. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/glad/vulkan.h
  45. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/mingw/_mingw_dxhelper.h
  46. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/mingw/dinput.h
  47. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/mingw/xinput.h
  48. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/fractional-scale-v1.xml
  49. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml
  50. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/pointer-constraints-unstable-v1.xml
  51. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/relative-pointer-unstable-v1.xml
  52. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/viewporter.xml
  53. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/wayland.xml
  54. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/xdg-activation-v1.xml
  55. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/xdg-decoration-unstable-v1.xml
  56. 0 0
      thirdparty/raylib-5.5/src/external/glfw/deps/wayland/xdg-shell.xml
  57. 0 0
      thirdparty/raylib-5.5/src/external/glfw/include/GLFW/glfw3.h
  58. 0 0
      thirdparty/raylib-5.5/src/external/glfw/include/GLFW/glfw3native.h
  59. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/CMakeLists.txt
  60. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_init.m
  61. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_joystick.h
  62. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_joystick.m
  63. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_monitor.m
  64. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_platform.h
  65. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_time.c
  66. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_time.h
  67. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/cocoa_window.m
  68. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/context.c
  69. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/egl_context.c
  70. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/glfw.rc.in
  71. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/glx_context.c
  72. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/init.c
  73. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/input.c
  74. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/internal.h
  75. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/linux_joystick.c
  76. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/linux_joystick.h
  77. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/mappings.h
  78. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/mappings.h.in
  79. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/monitor.c
  80. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/nsgl_context.m
  81. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/null_init.c
  82. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/null_joystick.c
  83. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/null_joystick.h
  84. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/null_monitor.c
  85. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/null_platform.h
  86. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/null_window.c
  87. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/osmesa_context.c
  88. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/platform.c
  89. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/platform.h
  90. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/posix_module.c
  91. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/posix_poll.c
  92. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/posix_poll.h
  93. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/posix_thread.c
  94. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/posix_thread.h
  95. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/posix_time.c
  96. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/posix_time.h
  97. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/vulkan.c
  98. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/wgl_context.c
  99. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/win32_init.c
  100. 0 0
      thirdparty/raylib-5.5/src/external/glfw/src/win32_joystick.c

+ 2 - 0
nob.c

@@ -7,6 +7,8 @@
 #include <errno.h>
 
 #define NOB_IMPLEMENTATION
+#define NOB_STRIP_PREFIX
+#define NOB_EXPERIMENTAL_DELETE_OLD
 #include "./nob.h"
 #include "./src_build/configurer.c"
 

+ 2 - 2
src/plug.c

@@ -11,8 +11,8 @@
 #include "ffmpeg.h"
 #define NOB_IMPLEMENTATION
 #define NOB_STRIP_PREFIX
-#include "nob.h"
-#include "tinyfiledialogs.h"
+#include "thirdparty/nob.h"
+#include "thirdparty/tinyfiledialogs.h"
 
 #include <raylib.h>
 #include <rlgl.h>

+ 7 - 7
src_build/nob_linux.c

@@ -11,10 +11,10 @@ bool build_musializer(void)
     // Like `clang` for instance
     nob_cmd_append(&cmd, "cc",
         "-Wall", "-Wextra", "-ggdb",
-        "-I.", "-I./raylib/raylib-"RAYLIB_VERSION"/src/",
+        "-I.", "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/",
         "-fPIC", "-shared",
         "-o", "./build/libplug.so",
-        "./src/plug.c", "./src/ffmpeg_posix.c", "./src/tinyfiledialogs.c",
+        "./src/plug.c", "./src/ffmpeg_posix.c", "./thirdparty/tinyfiledialogs.c",
         nob_temp_sprintf("-L./build/raylib/%s", MUSIALIZER_TARGET_NAME), "-l:libraylib.so",
         "-O3", "-march=native", "-ffast-math",
         "-lm", "-ldl", "-flto=auto", "-lpthread");
@@ -22,7 +22,7 @@ bool build_musializer(void)
 
     nob_cmd_append(&cmd, "cc",
         "-Wall", "-Wextra", "-ggdb",
-        "-I.", "-I./raylib/raylib-"RAYLIB_VERSION"/src/",
+        "-I.", "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/",
         "-o", "./build/musializer",
         "./src/musializer.c", "./src/hotreload_posix.c",
         "-Wl,-rpath=./build/",
@@ -40,9 +40,9 @@ bool build_musializer(void)
     nob_cmd_append(&cmd, "cc",
         "-Wall", "-Wextra", "-ggdb",
         "-I.",
-        "-I./raylib/raylib-"RAYLIB_VERSION"/src/",
+        "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/",
         "-o", "./build/musializer",
-        "./src/plug.c", "./src/ffmpeg_posix.c", "./src/musializer.c", "./src/tinyfiledialogs.c",
+        "./src/plug.c", "./src/ffmpeg_posix.c", "./src/musializer.c", "./thirdparty/tinyfiledialogs.c",
         nob_temp_sprintf("-L./build/raylib/%s", MUSIALIZER_TARGET_NAME), "-l:libraylib.a",
         "-O3", "-march=native", "-ffast-math",
         "-lm", "-ldl", "-flto=auto", "-lpthread");
@@ -74,7 +74,7 @@ bool build_raylib(void)
     }
 
     for (size_t i = 0; i < NOB_ARRAY_LEN(raylib_modules); ++i) {
-        const char *input_path = nob_temp_sprintf("./raylib/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
+        const char *input_path = nob_temp_sprintf("./thirdparty/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
         const char *output_path = nob_temp_sprintf("%s/%s.o", build_path, raylib_modules[i]);
         output_path = nob_temp_sprintf("%s/%s.o", build_path, raylib_modules[i]);
 
@@ -83,7 +83,7 @@ bool build_raylib(void)
         if (nob_needs_rebuild(output_path, &input_path, 1)) {
             nob_cmd_append(&cmd, "cc",
                 "-ggdb", "-DPLATFORM_DESKTOP", "-D_GLFW_X11", "-fPIC", "-DSUPPORT_FILEFORMAT_FLAC=1",
-                "-I./raylib/raylib-"RAYLIB_VERSION"/src/external/glfw/include",
+                "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/external/glfw/include",
                 "-c", input_path,
                 "-o", output_path);
             nob_da_append(&procs, nob_cmd_run_async_and_reset(&cmd));

+ 7 - 7
src_build/nob_macos.c

@@ -16,13 +16,13 @@ bool build_musializer(void)
         nob_cmd_append(&cmd, "clang");
         nob_cmd_append(&cmd, "-Wall", "-Wextra", "-g");
         nob_cmd_append(&cmd, "-I.");
-        nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+        nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
         nob_cmd_append(&cmd, "-fPIC", "-shared");
         nob_cmd_append(&cmd, "-o", "./build/libplug.dylib");
         nob_cmd_append(&cmd,
             "./src/plug.c",
             "./src/ffmpeg_posix.c",
-            "./src/tinyfiledialogs.c");
+            "./thirdparty/tinyfiledialogs.c");
         nob_cmd_append(&cmd, "./build/raylib/macos/libraylib.dylib");
         nob_cmd_append(&cmd, "-lm", "-ldl", "-lpthread");
     nob_da_append(&procs, nob_cmd_run_async(cmd));
@@ -31,7 +31,7 @@ bool build_musializer(void)
         nob_cmd_append(&cmd, "clang");
         nob_cmd_append(&cmd, "-Wall", "-Wextra", "-g");
         nob_cmd_append(&cmd, "-I.");
-        nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+        nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
         nob_cmd_append(&cmd, "-o", "./build/musializer");
         nob_cmd_append(&cmd,
             "./src/musializer.c",
@@ -49,13 +49,13 @@ bool build_musializer(void)
         nob_cmd_append(&cmd, "clang");
         nob_cmd_append(&cmd, "-Wall", "-Wextra", "-g");
         nob_cmd_append(&cmd, "-I.");
-        nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+        nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
         nob_cmd_append(&cmd, "-o", "./build/musializer");
         nob_cmd_append(&cmd,
             "./src/plug.c",
             "./src/ffmpeg_posix.c",
             "./src/musializer.c",
-            "./src/tinyfiledialogs.c");
+            "./thirdparty/tinyfiledialogs.c");
         nob_cmd_append(&cmd, "./build/raylib/macos/libraylib.a");
 
         nob_cmd_append(&cmd, "-framework", "CoreVideo");
@@ -93,7 +93,7 @@ bool build_raylib(void)
     }
 
     for (size_t i = 0; i < NOB_ARRAY_LEN(raylib_modules); ++i) {
-        const char *input_path = nob_temp_sprintf("./raylib/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
+        const char *input_path = nob_temp_sprintf("./thirdparty/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
         const char *output_path = nob_temp_sprintf("%s/%s.o", build_path, raylib_modules[i]);
 
         nob_da_append(&object_files, output_path);
@@ -102,7 +102,7 @@ bool build_raylib(void)
             cmd.count = 0;
             nob_cmd_append(&cmd, "clang");
             nob_cmd_append(&cmd, "-g", "-DPLATFORM_DESKTOP", "-fPIC", "-DSUPPORT_FILEFORMAT_FLAC=1");
-            nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
+            nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
             nob_cmd_append(&cmd, "-Iexternal/glfw/deps/ming");
             nob_cmd_append(&cmd, "-DGRAPHICS_API_OPENGL_33");
             if(strcmp(raylib_modules[i], "rglfw") == 0) {

+ 7 - 7
src_build/nob_openbsd.c

@@ -14,10 +14,10 @@ bool build_musializer(void)
                 nob_cmd_append(&cmd, "cc");
                 nob_cmd_append(&cmd, "-Wall", "-Wextra", "-ggdb");
                 nob_cmd_append(&cmd, "-I.");
-                nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+                nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
                 nob_cmd_append(&cmd, "-fPIC", "-shared");
                 nob_cmd_append(&cmd, "-o", "./build/libplug.so");
-                nob_cmd_append(&cmd, "./src/tinyfiledialogs.c");
+                nob_cmd_append(&cmd, "./thirdparty/tinyfiledialogs.c");
                 nob_cmd_append(&cmd,
                     "./src/plug.c",
                     "./src/ffmpeg_posix.c");
@@ -31,7 +31,7 @@ bool build_musializer(void)
                 nob_cmd_append(&cmd, "cc");
                 nob_cmd_append(&cmd, "-Wall", "-Wextra", "-ggdb");
                 nob_cmd_append(&cmd, "-I.");
-                nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+                nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
                 nob_cmd_append(&cmd, "-o", "./build/musializer");
                 nob_cmd_append(&cmd,
                     "./src/musializer.c",
@@ -53,9 +53,9 @@ bool build_musializer(void)
             nob_cmd_append(&cmd, "cc");
             nob_cmd_append(&cmd, "-Wall", "-Wextra", "-ggdb");
             nob_cmd_append(&cmd, "-I.");
-            nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+            nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
             nob_cmd_append(&cmd, "-o", "./build/musializer");
-            nob_cmd_append(&cmd, "./src/tinyfiledialogs.c");
+            nob_cmd_append(&cmd, "./thirdparty/tinyfiledialogs.c");
             nob_cmd_append(&cmd,
                 "./src/plug.c",
                 "./src/ffmpeg_posix.c",
@@ -92,7 +92,7 @@ bool build_raylib(void)
     }
 
     for (size_t i = 0; i < NOB_ARRAY_LEN(raylib_modules); ++i) {
-        const char *input_path = nob_temp_sprintf("./raylib/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
+        const char *input_path = nob_temp_sprintf("./thirdparty/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
         const char *output_path = nob_temp_sprintf("%s/%s.o", build_path, raylib_modules[i]);
         output_path = nob_temp_sprintf("%s/%s.o", build_path, raylib_modules[i]);
 
@@ -103,7 +103,7 @@ bool build_raylib(void)
             nob_cmd_append(&cmd, "cc");
             nob_cmd_append(&cmd, "-w");
             nob_cmd_append(&cmd, "-ggdb", "-DPLATFORM_DESKTOP", "-fPIC", "-DSUPPORT_FILEFORMAT_FLAC=1");
-            nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
+            nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
             nob_cmd_append(&cmd, "-c", input_path);
             nob_cmd_append(&cmd, "-o", output_path);
             nob_cmd_append(&cmd, "-I/usr/X11R6/include");

+ 1 - 1
src_build/nob_stage2.c

@@ -1,7 +1,7 @@
 #include <stdbool.h>
 
 #define NOB_IMPLEMENTATION
-#include "../nob.h"
+#include "../thirdparty/nob.h"
 #include "../build/config.h"
 #include "./configurer.c"
 

+ 7 - 7
src_build/nob_win64_mingw.c

@@ -26,14 +26,14 @@ bool build_musializer(void)
                 nob_cmd_append(&cmd, "x86_64-w64-mingw32-gcc");
                 nob_cmd_append(&cmd, "-mwindows", "-Wall", "-Wextra", "-ggdb");
                 nob_cmd_append(&cmd, "-I.");
-                nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+                nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
                 nob_cmd_append(&cmd, "-fPIC", "-shared");
                 nob_cmd_append(&cmd, "-static-libgcc");
                 nob_cmd_append(&cmd, "-o", "./build/libplug.dll");
                 nob_cmd_append(&cmd,
                     "./src/plug.c",
                     "./src/ffmpeg_windows.c",
-                    "./src/tinyfiledialogs.c");
+                    "./thirdparty/tinyfiledialogs.c");
                 nob_cmd_append(&cmd,
                     "-L./build",
                     "-l:raylib.dll");
@@ -44,7 +44,7 @@ bool build_musializer(void)
                 nob_cmd_append(&cmd, "x86_64-w64-mingw32-gcc");
                 nob_cmd_append(&cmd, "-mwindows", "-Wall", "-Wextra", "-ggdb");
                 nob_cmd_append(&cmd, "-I.");
-                nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+                nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
                 nob_cmd_append(&cmd, "-o", "./build/musializer");
                 nob_cmd_append(&cmd,
                     "./src/musializer.c",
@@ -66,13 +66,13 @@ bool build_musializer(void)
         nob_cmd_append(&cmd, "x86_64-w64-mingw32-gcc");
         nob_cmd_append(&cmd, "-mwindows", "-Wall", "-Wextra", "-ggdb");
         nob_cmd_append(&cmd, "-I.");
-        nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/");
+        nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/");
         nob_cmd_append(&cmd, "-o", "./build/musializer");
         nob_cmd_append(&cmd,
             "./src/plug.c",
             "./src/ffmpeg_windows.c",
             "./src/musializer.c",
-            "./src/tinyfiledialogs.c",
+            "./thirdparty/tinyfiledialogs.c",
             "./build/musializer.res"
             );
         nob_cmd_append(&cmd,
@@ -108,7 +108,7 @@ bool build_raylib()
     }
 
     for (size_t i = 0; i < NOB_ARRAY_LEN(raylib_modules); ++i) {
-        const char *input_path = nob_temp_sprintf("./raylib/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
+        const char *input_path = nob_temp_sprintf("./thirdparty/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
         const char *output_path = nob_temp_sprintf("%s/%s.o", build_path, raylib_modules[i]);
         output_path = nob_temp_sprintf("%s/%s.o", build_path, raylib_modules[i]);
 
@@ -120,7 +120,7 @@ bool build_raylib()
             nob_cmd_append(&cmd, "-ggdb", "-DPLATFORM_DESKTOP", "-fPIC", "-DSUPPORT_FILEFORMAT_FLAC=1");
             nob_cmd_append(&cmd, "-DPLATFORM_DESKTOP");
             nob_cmd_append(&cmd, "-fPIC");
-            nob_cmd_append(&cmd, "-I./raylib/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
+            nob_cmd_append(&cmd, "-I./thirdparty/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
             nob_cmd_append(&cmd, "-c", input_path);
             nob_cmd_append(&cmd, "-o", output_path);
 

+ 7 - 7
src_build/nob_win64_msvc.c

@@ -20,11 +20,11 @@ bool build_musializer(void)
             nob_cmd_append(&cmd, "/LD");
             nob_cmd_append(&cmd, "/Fobuild\\", "/Fe./build/libplug.dll");
             nob_cmd_append(&cmd, "/I", "./");
-            nob_cmd_append(&cmd, "/I", "./raylib/raylib-"RAYLIB_VERSION"/src/");
+            nob_cmd_append(&cmd, "/I", "./thirdparty/raylib-"RAYLIB_VERSION"/src/");
             nob_cmd_append(&cmd,
                 "src/plug.c",
                 "src/ffmpeg_windows.c",
-                "./src/tinyfiledialogs.c");
+                "./thirdparty/tinyfiledialogs.c");
             nob_cmd_append(&cmd,
                 "/link",
                 nob_temp_sprintf("/LIBPATH:build/raylib/%s", MUSIALIZER_TARGET_NAME),
@@ -35,7 +35,7 @@ bool build_musializer(void)
         cmd.count = 0;
             nob_cmd_append(&cmd, "cl.exe");
             nob_cmd_append(&cmd, "/I", "./");
-            nob_cmd_append(&cmd, "/I", "./raylib/raylib-"RAYLIB_VERSION"/src/");
+            nob_cmd_append(&cmd, "/I", "./thirdparty/raylib-"RAYLIB_VERSION"/src/");
             nob_cmd_append(&cmd, "/Fobuild\\", "/Febuild\\musializer.exe");
             nob_cmd_append(&cmd,
                 "./src/musializer.c",
@@ -54,13 +54,13 @@ bool build_musializer(void)
     cmd.count = 0;
         nob_cmd_append(&cmd, "cl.exe");
         nob_cmd_append(&cmd, "/I", "./");
-        nob_cmd_append(&cmd, "/I", "./raylib/raylib-"RAYLIB_VERSION"/src/");
+        nob_cmd_append(&cmd, "/I", "./thirdparty/raylib-"RAYLIB_VERSION"/src/");
         nob_cmd_append(&cmd, "/Fobuild\\", "/Febuild\\musializer.exe");
         nob_cmd_append(&cmd,
             "./src/musializer.c",
             "./src/plug.c",
             "./src/ffmpeg_windows.c",
-            "./src/tinyfiledialogs.c");
+            "./thirdparty/tinyfiledialogs.c");
         nob_cmd_append(&cmd,
             "/link",
             "/SUBSYSTEM:WINDOWS",
@@ -98,7 +98,7 @@ bool build_raylib(void)
     }
 
     for (size_t i = 0; i < NOB_ARRAY_LEN(raylib_modules); ++i) {
-        const char *input_path = nob_temp_sprintf("./raylib/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
+        const char *input_path = nob_temp_sprintf("./thirdparty/raylib-"RAYLIB_VERSION"/src/%s.c", raylib_modules[i]);
         const char *output_path = nob_temp_sprintf("%s/%s.obj", build_path, raylib_modules[i]);
 
         nob_da_append(&object_files, output_path);
@@ -109,7 +109,7 @@ bool build_raylib(void)
             #ifdef MUSIALIZER_HOTRELOAD
                 nob_cmd_append(&cmd, "/DBUILD_LIBTYPE_SHARED");
             #endif
-            nob_cmd_append(&cmd, "/I", "./raylib/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
+            nob_cmd_append(&cmd, "/I", "./thirdparty/raylib-"RAYLIB_VERSION"/src/external/glfw/include");
             nob_cmd_append(&cmd, "/c", input_path);
             nob_cmd_append(&cmd, nob_temp_sprintf("/Fo%s", output_path));
             Nob_Proc proc = nob_cmd_run_async(cmd);

+ 0 - 0
nob.h → thirdparty/nob.h


+ 0 - 0
raylib/raylib-5.5/.gitignore → thirdparty/raylib-5.5/.gitignore


+ 0 - 0
raylib/raylib-5.5/LICENSE → thirdparty/raylib-5.5/LICENSE


+ 0 - 0
raylib/raylib-5.5/README → thirdparty/raylib-5.5/README


+ 0 - 0
raylib/raylib-5.5/src/CMakeLists.txt → thirdparty/raylib-5.5/src/CMakeLists.txt


+ 0 - 0
raylib/raylib-5.5/src/Makefile → thirdparty/raylib-5.5/src/Makefile


+ 0 - 0
raylib/raylib-5.5/src/config.h → thirdparty/raylib-5.5/src/config.h


+ 0 - 0
raylib/raylib-5.5/src/external/RGFW.h → thirdparty/raylib-5.5/src/external/RGFW.h


+ 0 - 0
raylib/raylib-5.5/src/external/cgltf.h → thirdparty/raylib-5.5/src/external/cgltf.h


+ 0 - 0
raylib/raylib-5.5/src/external/dirent.h → thirdparty/raylib-5.5/src/external/dirent.h


+ 0 - 0
raylib/raylib-5.5/src/external/dr_flac.h → thirdparty/raylib-5.5/src/external/dr_flac.h


+ 0 - 0
raylib/raylib-5.5/src/external/dr_mp3.h → thirdparty/raylib-5.5/src/external/dr_mp3.h


+ 0 - 0
raylib/raylib-5.5/src/external/dr_wav.h → thirdparty/raylib-5.5/src/external/dr_wav.h


+ 0 - 0
raylib/raylib-5.5/src/external/glad.h → thirdparty/raylib-5.5/src/external/glad.h


+ 0 - 0
raylib/raylib-5.5/src/external/glad_gles2.h → thirdparty/raylib-5.5/src/external/glad_gles2.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/.mailmap → thirdparty/raylib-5.5/src/external/glfw/.mailmap


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/GenerateMappings.cmake → thirdparty/raylib-5.5/src/external/glfw/CMake/GenerateMappings.cmake


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/Info.plist.in → thirdparty/raylib-5.5/src/external/glfw/CMake/Info.plist.in


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/cmake_uninstall.cmake.in → thirdparty/raylib-5.5/src/external/glfw/CMake/cmake_uninstall.cmake.in


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/glfw3.pc.in → thirdparty/raylib-5.5/src/external/glfw/CMake/glfw3.pc.in


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/glfw3Config.cmake.in → thirdparty/raylib-5.5/src/external/glfw/CMake/glfw3Config.cmake.in


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/i686-w64-mingw32-clang.cmake → thirdparty/raylib-5.5/src/external/glfw/CMake/i686-w64-mingw32-clang.cmake


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/i686-w64-mingw32.cmake → thirdparty/raylib-5.5/src/external/glfw/CMake/i686-w64-mingw32.cmake


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/modules/FindEpollShim.cmake → thirdparty/raylib-5.5/src/external/glfw/CMake/modules/FindEpollShim.cmake


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/modules/FindOSMesa.cmake → thirdparty/raylib-5.5/src/external/glfw/CMake/modules/FindOSMesa.cmake


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/x86_64-w64-mingw32-clang.cmake → thirdparty/raylib-5.5/src/external/glfw/CMake/x86_64-w64-mingw32-clang.cmake


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMake/x86_64-w64-mingw32.cmake → thirdparty/raylib-5.5/src/external/glfw/CMake/x86_64-w64-mingw32.cmake


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CMakeLists.txt → thirdparty/raylib-5.5/src/external/glfw/CMakeLists.txt


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/CONTRIBUTORS.md → thirdparty/raylib-5.5/src/external/glfw/CONTRIBUTORS.md


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/LICENSE.md → thirdparty/raylib-5.5/src/external/glfw/LICENSE.md


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/README.md → thirdparty/raylib-5.5/src/external/glfw/README.md


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/getopt.c → thirdparty/raylib-5.5/src/external/glfw/deps/getopt.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/getopt.h → thirdparty/raylib-5.5/src/external/glfw/deps/getopt.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/glad/gl.h → thirdparty/raylib-5.5/src/external/glfw/deps/glad/gl.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/glad/gles2.h → thirdparty/raylib-5.5/src/external/glfw/deps/glad/gles2.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/glad/vulkan.h → thirdparty/raylib-5.5/src/external/glfw/deps/glad/vulkan.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/mingw/_mingw_dxhelper.h → thirdparty/raylib-5.5/src/external/glfw/deps/mingw/_mingw_dxhelper.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/mingw/dinput.h → thirdparty/raylib-5.5/src/external/glfw/deps/mingw/dinput.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/mingw/xinput.h → thirdparty/raylib-5.5/src/external/glfw/deps/mingw/xinput.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/fractional-scale-v1.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/fractional-scale-v1.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/pointer-constraints-unstable-v1.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/pointer-constraints-unstable-v1.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/relative-pointer-unstable-v1.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/relative-pointer-unstable-v1.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/viewporter.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/viewporter.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/wayland.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/wayland.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/xdg-activation-v1.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/xdg-activation-v1.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/xdg-decoration-unstable-v1.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/xdg-decoration-unstable-v1.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/deps/wayland/xdg-shell.xml → thirdparty/raylib-5.5/src/external/glfw/deps/wayland/xdg-shell.xml


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/include/GLFW/glfw3.h → thirdparty/raylib-5.5/src/external/glfw/include/GLFW/glfw3.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/include/GLFW/glfw3native.h → thirdparty/raylib-5.5/src/external/glfw/include/GLFW/glfw3native.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/CMakeLists.txt → thirdparty/raylib-5.5/src/external/glfw/src/CMakeLists.txt


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_init.m → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_init.m


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_joystick.h → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_joystick.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_joystick.m → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_joystick.m


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_monitor.m → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_monitor.m


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_platform.h → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_platform.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_time.c → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_time.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_time.h → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_time.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/cocoa_window.m → thirdparty/raylib-5.5/src/external/glfw/src/cocoa_window.m


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/context.c → thirdparty/raylib-5.5/src/external/glfw/src/context.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/egl_context.c → thirdparty/raylib-5.5/src/external/glfw/src/egl_context.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/glfw.rc.in → thirdparty/raylib-5.5/src/external/glfw/src/glfw.rc.in


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/glx_context.c → thirdparty/raylib-5.5/src/external/glfw/src/glx_context.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/init.c → thirdparty/raylib-5.5/src/external/glfw/src/init.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/input.c → thirdparty/raylib-5.5/src/external/glfw/src/input.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/internal.h → thirdparty/raylib-5.5/src/external/glfw/src/internal.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/linux_joystick.c → thirdparty/raylib-5.5/src/external/glfw/src/linux_joystick.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/linux_joystick.h → thirdparty/raylib-5.5/src/external/glfw/src/linux_joystick.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/mappings.h → thirdparty/raylib-5.5/src/external/glfw/src/mappings.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/mappings.h.in → thirdparty/raylib-5.5/src/external/glfw/src/mappings.h.in


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/monitor.c → thirdparty/raylib-5.5/src/external/glfw/src/monitor.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/nsgl_context.m → thirdparty/raylib-5.5/src/external/glfw/src/nsgl_context.m


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/null_init.c → thirdparty/raylib-5.5/src/external/glfw/src/null_init.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/null_joystick.c → thirdparty/raylib-5.5/src/external/glfw/src/null_joystick.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/null_joystick.h → thirdparty/raylib-5.5/src/external/glfw/src/null_joystick.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/null_monitor.c → thirdparty/raylib-5.5/src/external/glfw/src/null_monitor.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/null_platform.h → thirdparty/raylib-5.5/src/external/glfw/src/null_platform.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/null_window.c → thirdparty/raylib-5.5/src/external/glfw/src/null_window.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/osmesa_context.c → thirdparty/raylib-5.5/src/external/glfw/src/osmesa_context.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/platform.c → thirdparty/raylib-5.5/src/external/glfw/src/platform.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/platform.h → thirdparty/raylib-5.5/src/external/glfw/src/platform.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/posix_module.c → thirdparty/raylib-5.5/src/external/glfw/src/posix_module.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/posix_poll.c → thirdparty/raylib-5.5/src/external/glfw/src/posix_poll.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/posix_poll.h → thirdparty/raylib-5.5/src/external/glfw/src/posix_poll.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/posix_thread.c → thirdparty/raylib-5.5/src/external/glfw/src/posix_thread.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/posix_thread.h → thirdparty/raylib-5.5/src/external/glfw/src/posix_thread.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/posix_time.c → thirdparty/raylib-5.5/src/external/glfw/src/posix_time.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/posix_time.h → thirdparty/raylib-5.5/src/external/glfw/src/posix_time.h


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/vulkan.c → thirdparty/raylib-5.5/src/external/glfw/src/vulkan.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/wgl_context.c → thirdparty/raylib-5.5/src/external/glfw/src/wgl_context.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/win32_init.c → thirdparty/raylib-5.5/src/external/glfw/src/win32_init.c


+ 0 - 0
raylib/raylib-5.5/src/external/glfw/src/win32_joystick.c → thirdparty/raylib-5.5/src/external/glfw/src/win32_joystick.c


部分文件因为文件数量过多而无法显示