File tree Expand file tree Collapse file tree 3 files changed +4
-29
lines changed Expand file tree Collapse file tree 3 files changed +4
-29
lines changed Original file line number Diff line number Diff line change 58
58
[submodule "thirdparty/json "]
59
59
path = thirdparty/json
60
60
url = https://github.com/nlohmann/json
61
+ [submodule "UnleashedRecomp/api "]
62
+ path = UnleashedRecomp/api
63
+ url = https://github.com/hedge-dev/SWA.git
Original file line number Diff line number Diff line change @@ -441,35 +441,6 @@ compile_pixel_shader(resolve_msaa_depth_2x)
441
441
compile_pixel_shader (resolve_msaa_depth_4x )
442
442
compile_pixel_shader (resolve_msaa_depth_8x )
443
443
444
- function (generate_aggregate_header INPUT_DIRECTORY OUTPUT_FILE )
445
- get_filename_component (ABS_OUTPUT_FILE "${OUTPUT_FILE} " ABSOLUTE )
446
- file (GLOB_RECURSE HEADER_FILES "${INPUT_DIRECTORY} /*.h" )
447
- set (HEADER_CONTENT "#pragma once\n\n " )
448
-
449
- foreach (HEADER_FILE IN LISTS HEADER_FILES )
450
- get_filename_component (ABS_HEADER_FILE "${HEADER_FILE} " ABSOLUTE )
451
- if (ABS_HEADER_FILE STREQUAL ABS_OUTPUT_FILE )
452
- continue ()
453
- endif ()
454
- file (RELATIVE_PATH RELATIVE_HEADER_FILE "${INPUT_DIRECTORY} " "${HEADER_FILE} " )
455
- string (APPEND HEADER_CONTENT "#include \" ${RELATIVE_HEADER_FILE} \"\n " )
456
- endforeach ()
457
-
458
- if (EXISTS "${OUTPUT_FILE} " )
459
- file (READ "${OUTPUT_FILE} " EXISTING_CONTENT )
460
- if (EXISTING_CONTENT STREQUAL HEADER_CONTENT )
461
- return ()
462
- endif ()
463
- endif ()
464
-
465
- file (WRITE "${OUTPUT_FILE} " "${HEADER_CONTENT} " )
466
- endfunction ()
467
-
468
- generate_aggregate_header (
469
- "${CMAKE_CURRENT_SOURCE_DIR} /api"
470
- "${CMAKE_CURRENT_SOURCE_DIR} /api/SWA.h"
471
- )
472
-
473
444
set (RESOURCES_SOURCE_PATH "${PROJECT_SOURCE_DIR} /../UnleashedRecompResources" )
474
445
set (RESOURCES_OUTPUT_PATH "${PROJECT_SOURCE_DIR} /res" )
475
446
You can’t perform that action at this time.
0 commit comments