mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-10-30 06:45:36 +01:00
190 lines
3.9 KiB
CMake
190 lines
3.9 KiB
CMake
add_executable(opengl_renderer_s_test ./opengl_renderer_s_test.cpp)
|
|
|
|
target_link_libraries(opengl_renderer_s_test
|
|
opengl_renderer_s
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME opengl_renderer_s_test COMMAND opengl_renderer_s_test)
|
|
|
|
#################
|
|
|
|
add_executable(opengl_builtins_test ./builtins.cpp)
|
|
|
|
target_link_libraries(opengl_builtins_test
|
|
opengl_renderer_s
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME opengl_builtins_test COMMAND opengl_builtins_test)
|
|
|
|
#################
|
|
|
|
add_executable(imgui_render_task_test imgui_render_task_test.cpp)
|
|
|
|
target_link_libraries(imgui_render_task_test
|
|
opengl_renderer_s
|
|
imgui_service
|
|
imgui_render_task
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME imgui_render_task_test COMMAND imgui_render_task_test)
|
|
|
|
################# simple rect render task
|
|
|
|
add_executable(simple_rect_render_task_test simple_rect_render_task_test.cpp)
|
|
|
|
target_link_libraries(simple_rect_render_task_test
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
simple_rect_render_task
|
|
|
|
simple_velocity_system
|
|
transform_system
|
|
|
|
random
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME simple_rect_render_task_test COMMAND simple_rect_render_task_test)
|
|
|
|
################# simple sprite render task
|
|
|
|
add_executable(simple_sprite_render_task_test simple_sprite_render_task_test.cpp)
|
|
|
|
target_link_libraries(simple_sprite_render_task_test
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
simple_sprite_render_task
|
|
|
|
simple_velocity_system
|
|
transform_system
|
|
|
|
random
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME simple_sprite_render_task_test COMMAND simple_sprite_render_task_test)
|
|
|
|
################# simple spritesheet render task
|
|
|
|
add_executable(simple_spritesheet_render_task_test simple_spritesheet_render_task_test.cpp)
|
|
|
|
target_link_libraries(simple_spritesheet_render_task_test
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
simple_spritesheet_render_task
|
|
|
|
#simple_velocity_system
|
|
transform_system
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME simple_spritesheet_render_task_test COMMAND simple_spritesheet_render_task_test)
|
|
|
|
################# batched spritesheet render task
|
|
|
|
add_executable(batched_spritesheet_render_task_test batched_spritesheet_render_task_test.cpp)
|
|
|
|
target_link_libraries(batched_spritesheet_render_task_test
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
batched_spritesheet_render_task
|
|
|
|
#simple_velocity_system
|
|
transform_system
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME batched_spritesheet_render_task_test COMMAND batched_spritesheet_render_task_test)
|
|
|
|
#################
|
|
|
|
add_executable(blur_render_task_test blur_render_task_test.cpp)
|
|
|
|
target_link_libraries(blur_render_task_test
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
simple_rect_render_task
|
|
blur_render_task
|
|
copy_to_fb_render_task
|
|
clear_render_task
|
|
imgui_service
|
|
imgui_render_task
|
|
|
|
simple_velocity_system
|
|
transform_system
|
|
|
|
random
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME blur_render_task_test COMMAND blur_render_task_test)
|
|
|
|
################# tilemap render task
|
|
|
|
add_executable(tilemap_render_task_test tilemap_render_task_test.cpp)
|
|
|
|
target_link_libraries(tilemap_render_task_test
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
imgui_service
|
|
tilemap_render_task
|
|
|
|
transform_system
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME tilemap_render_task_test COMMAND tilemap_render_task_test)
|
|
|
|
################# fast sky render task
|
|
|
|
add_executable(fast_sky_render_task_test fast_sky_render_task_test.cpp)
|
|
|
|
target_link_libraries(fast_sky_render_task_test
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
#imgui_service
|
|
fast_sky_render_task
|
|
fast_sky_sun_system
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME fast_sky_render_task_test COMMAND fast_sky_render_task_test)
|
|
|
|
################# hdr bloom example
|
|
|
|
add_executable(hdr_bloom_pipeline_example ./hdr_bloom_pipeline_example.cpp)
|
|
|
|
target_link_libraries(hdr_bloom_pipeline_example
|
|
opengl_renderer_s
|
|
organizer_scene
|
|
clear_render_task
|
|
blit_fb_render_task
|
|
simple_rect_render_task
|
|
|
|
#bloom_extraction_render_task
|
|
#blur_render_task
|
|
#bloom_combine_render_task
|
|
bloom
|
|
composition_render_task
|
|
|
|
simple_velocity_system
|
|
transform_system
|
|
|
|
random
|
|
|
|
gtest_main
|
|
)
|
|
|
|
add_test(NAME hdr_bloom_pipeline_example COMMAND hdr_bloom_pipeline_example)
|
|
|