mirror of
https://github.com/Vita3K/Vita3K.git
synced 2025-04-02 11:02:10 -04:00
This commit creates the first library of the host OS abstraction layer to access native OS dialogs using a more flexible C++ API and implements file browser dialogs using nativefiledialog-extended so that XDG desktop portals can be used to spawn these dialogs in Linux.
11 lines
296 B
CMake
11 lines
296 B
CMake
add_library(host_dialog STATIC
|
|
src/filesystem.cpp
|
|
)
|
|
|
|
# Create alias for more friendly naming and avoid conflicts
|
|
# in global CMake scope
|
|
add_library(host::dialog ALIAS host_dialog)
|
|
|
|
target_include_directories(host_dialog PUBLIC include)
|
|
|
|
target_link_libraries(host_dialog PRIVATE NFDe::NFDe)
|