Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			Reviewed-on: #62 Co-authored-by: light7734 <light7734@tuta.io> Co-committed-by: light7734 <light7734@tuta.io>
		
			
				
	
	
		
			51 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
add_library_module(
 | 
						|
    renderer
 | 
						|
    system.cpp
 | 
						|
    # Vulkan - backend
 | 
						|
    backend/vk/messenger.cpp
 | 
						|
    backend/vk/context/device.cpp
 | 
						|
    backend/vk/context/gpu.cpp
 | 
						|
    backend/vk/context/instance.cpp
 | 
						|
    backend/vk/context/surface.cpp
 | 
						|
    backend/vk/context/swapchain.cpp
 | 
						|
    backend/vk/data/buffer.cpp
 | 
						|
    backend/vk/renderer/pass.cpp
 | 
						|
    backend/vk/renderer/renderer.cpp
 | 
						|
    # frontend
 | 
						|
    frontend/messenger.cpp
 | 
						|
    frontend/context/device.cpp
 | 
						|
    frontend/context/gpu.cpp
 | 
						|
    frontend/context/instance.cpp
 | 
						|
    frontend/context/surface.cpp
 | 
						|
    frontend/context/swapchain.cpp
 | 
						|
    frontend/data/buffer.cpp
 | 
						|
    frontend/renderer/renderer.cpp
 | 
						|
    frontend/renderer/pass.cpp)
 | 
						|
 | 
						|
target_link_libraries(
 | 
						|
    renderer
 | 
						|
    PUBLIC app
 | 
						|
           ecs
 | 
						|
           memory
 | 
						|
           assets
 | 
						|
           time
 | 
						|
           bitwise
 | 
						|
           camera
 | 
						|
    PRIVATE surface pthread)
 | 
						|
 | 
						|
add_test_module(
 | 
						|
    renderer
 | 
						|
    test/utils.cpp
 | 
						|
    system.test.cpp
 | 
						|
    # general backend tests through the frontend
 | 
						|
    frontend/messenger.test.cpp
 | 
						|
    frontend/context/surface.test.cpp
 | 
						|
    frontend/context/device.test.cpp
 | 
						|
    frontend/context/swapchain.test.cpp
 | 
						|
    frontend/data/buffer.test.cpp
 | 
						|
    # frontend/renderer/pass.test.cpp
 | 
						|
    frontend/renderer/renderer.test.cpp
 | 
						|
    # backend specific tests -- vk
 | 
						|
    backend/vk/context/instance.test.cpp)
 | 
						|
 | 
						|
target_link_libraries(renderer_tests PRIVATE surface pthread)
 |