mirror of
				https://github.com/hedge-dev/UnleashedRecomp.git
				synced 2025-10-30 07:11:05 +00:00 
			
		
		
		
	Compare commits
	
		
			3 commits
		
	
	
		
			110f73be69
			...
			591bd6bd90
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 591bd6bd90 | ||
|   | 3c1badf183 | ||
|   | a1e581c8e8 | 
					 7 changed files with 33 additions and 25 deletions
				
			
		
							
								
								
									
										9
									
								
								.github/workflows/validate-external.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/validate-external.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,7 +1,9 @@ | |||
| name: validate-external | ||||
| on: | ||||
|   pull_request_target: | ||||
|     types: [opened, synchronize] | ||||
|     branches: | ||||
|       - main | ||||
|     types: [edited, opened, synchronize] | ||||
| jobs: | ||||
|   authorize: | ||||
|     if: github.repository != github.event.pull_request.head.repo.full_name | ||||
|  | @ -18,3 +20,8 @@ jobs: | |||
|     secrets: | ||||
|       ASSET_REPO: ${{ secrets.ASSET_REPO }} | ||||
|       ASSET_REPO_TOKEN: ${{ secrets.ASSET_REPO_TOKEN }} | ||||
|     steps: | ||||
|       - name: Checkout PR branch | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           ref: ${{ github.event.pull_request.head.ref }} | ||||
|  |  | |||
							
								
								
									
										9
									
								
								.github/workflows/validate-internal.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/validate-internal.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -4,9 +4,16 @@ on: | |||
|     branches: | ||||
|       - main | ||||
|   pull_request: | ||||
|     types: [opened, synchronize] | ||||
|     branches: | ||||
|       - main | ||||
|     types: [edited, opened, synchronize] | ||||
| jobs: | ||||
|   build: | ||||
|     if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name | ||||
|     uses: ./.github/workflows/validate.yml | ||||
|     secrets: inherit | ||||
|     steps: | ||||
|       - name: Checkout PR branch | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           ref: ${{ github.event.pull_request.head.ref }} | ||||
|  |  | |||
							
								
								
									
										3
									
								
								.github/workflows/validate.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/validate.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -26,6 +26,7 @@ jobs: | |||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           submodules: recursive | ||||
|           ref: ${{ github.event.pull_request.head.ref }} | ||||
| 
 | ||||
|       - name: Checkout Private Repository | ||||
|         uses: actions/checkout@v4 | ||||
|  | @ -92,6 +93,7 @@ jobs: | |||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           submodules: recursive | ||||
|           ref: ${{ github.event.pull_request.head.ref }} | ||||
| 
 | ||||
|       - name: Checkout private repository | ||||
|         uses: actions/checkout@v4 | ||||
|  | @ -170,6 +172,7 @@ jobs: | |||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           submodules: recursive | ||||
|           ref: ${{ github.event.pull_request.head.ref }} | ||||
| 
 | ||||
|       - name: Checkout Private Repository | ||||
|         uses: actions/checkout@v4 | ||||
|  |  | |||
|  | @ -23,10 +23,6 @@ if (APPLE) | |||
|     enable_language(OBJC OBJCXX) | ||||
| endif() | ||||
| 
 | ||||
| if (CMAKE_SYSTEM_NAME MATCHES "Linux") | ||||
|     set(SDL_VULKAN_ENABLED ON CACHE BOOL "") | ||||
| endif() | ||||
| 
 | ||||
| if (CMAKE_OSX_ARCHITECTURES) | ||||
|     set(UNLEASHED_RECOMP_ARCHITECTURE ${CMAKE_OSX_ARCHITECTURES}) | ||||
| elseif(CMAKE_SYSTEM_PROCESSOR) | ||||
|  |  | |||
|  | @ -352,23 +352,13 @@ if (UNLEASHED_RECOMP_FLATPAK) | |||
|     ) | ||||
| endif() | ||||
| 
 | ||||
| if (UNLEASHED_RECOMP_D3D12) | ||||
|     find_package(directx-headers CONFIG REQUIRED) | ||||
|     find_package(directx12-agility CONFIG REQUIRED) | ||||
|     target_compile_definitions(UnleashedRecomp PRIVATE  | ||||
|         UNLEASHED_RECOMP_D3D12 | ||||
|         D3D12MA_USING_DIRECTX_HEADERS | ||||
|         D3D12MA_OPTIONS16_SUPPORTED | ||||
|     ) | ||||
| endif() | ||||
| 
 | ||||
| if (SDL_VULKAN_ENABLED) | ||||
|     target_compile_definitions(UnleashedRecomp PRIVATE SDL_VULKAN_ENABLED) | ||||
| endif() | ||||
| 
 | ||||
| find_package(CURL REQUIRED) | ||||
| 
 | ||||
| if (UNLEASHED_RECOMP_D3D12) | ||||
|     find_package(directx-headers CONFIG REQUIRED) | ||||
|     find_package(directx12-agility CONFIG REQUIRED) | ||||
|     target_compile_definitions(UnleashedRecomp PRIVATE UNLEASHED_RECOMP_D3D12) | ||||
| 
 | ||||
|     file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/D3D12) | ||||
|     add_custom_command(TARGET UnleashedRecomp POST_BUILD | ||||
|         COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_PROPERTY:Microsoft::DirectX12-Core,IMPORTED_LOCATION_RELEASE> $<TARGET_FILE_DIR:UnleashedRecomp>/D3D12 | ||||
|  | @ -379,9 +369,6 @@ if (UNLEASHED_RECOMP_D3D12) | |||
|     ) | ||||
| 
 | ||||
|     target_link_libraries(UnleashedRecomp PRIVATE | ||||
|         Microsoft::DirectX-Headers  | ||||
|         Microsoft::DirectX-Guids  | ||||
|         Microsoft::DirectX12-Agility | ||||
|         Microsoft::DirectXShaderCompiler | ||||
|         Microsoft::DXIL | ||||
|         dxgi | ||||
|  | @ -395,7 +382,7 @@ if (WIN32) | |||
|         ntdll | ||||
|         Shcore | ||||
|         Synchronization | ||||
|         winmm | ||||
|         winmm | ||||
|         windowsapp | ||||
|     ) | ||||
| endif() | ||||
|  |  | |||
							
								
								
									
										8
									
								
								thirdparty/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								thirdparty/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -15,6 +15,14 @@ set(SDL2MIXER_OPUS OFF) | |||
| set(SDL2MIXER_VORBIS "VORBISFILE") | ||||
| set(SDL2MIXER_WAVPACK OFF) | ||||
| 
 | ||||
| if (CMAKE_SYSTEM_NAME MATCHES "Linux") | ||||
|     set(SDL_VULKAN_ENABLED ON CACHE BOOL "") | ||||
| endif() | ||||
| 
 | ||||
| if (WIN32) | ||||
|     set(D3D12_AGILITY_SDK_ENABLED ON CACHE BOOL "") | ||||
| endif() | ||||
| 
 | ||||
| add_subdirectory("${UNLEASHED_RECOMP_THIRDPARTY_ROOT}/msdf-atlas-gen") | ||||
| add_subdirectory("${UNLEASHED_RECOMP_THIRDPARTY_ROOT}/nativefiledialog-extended") | ||||
| add_subdirectory("${UNLEASHED_RECOMP_THIRDPARTY_ROOT}/o1heap") | ||||
|  |  | |||
							
								
								
									
										2
									
								
								thirdparty/plume
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								thirdparty/plume
									
										
									
									
										vendored
									
									
								
							|  | @ -1 +1 @@ | |||
| Subproject commit fffeb35f836d8c945697ec82b735e77db401e2de | ||||
| Subproject commit 11926860e878e68626ea99ec88562ce2b8badc4f | ||||
		Loading…
	
	Add table
		
		Reference in a new issue