adapted from: qt-wgpu-skel: * 751408ea92268a16a6931862cb00e8dbccb4e47e replace custom FFI with Diplomat * 46ce52c2bf2f8ab76a68c284a2f70556a29d7c3b reduce the unsafe part to the GPU initialization * 784e99b31c4ae3ab0f97ec26045511d00683d66b move the GPU initialization out of the bridge
13 lines
309 B
CMake
13 lines
309 B
CMake
include(impl.cmake)
|
|
|
|
qt_add_executable(photon-light
|
|
src/main.cxx
|
|
src/main_window.cxx
|
|
src/main_window.ui
|
|
src/viewport.cxx
|
|
)
|
|
|
|
target_link_libraries(photon-light PRIVATE Qt6::Gui Qt6::Widgets)
|
|
target_link_libraries(photon-light PRIVATE photon_light_impl)
|
|
target_include_directories(photon-light PRIVATE src)
|