feat(cmake): add native file dialog support for Windows/Linux
- Introduced a new file dialog implementation using nativefiledialog-extended for better file handling on Windows and Linux platforms. - Updated CMake configuration to link the new file dialog library and include necessary directories. - Enhanced the editor library to conditionally link a test support library when testing is enabled. Benefits: - Improved user experience with native file dialogs for file operations. - Streamlined testing support in the editor library, enhancing modularity and maintainability.
This commit is contained in:
@@ -108,6 +108,11 @@ target_link_libraries(yaze_editor PUBLIC
|
||||
ImGui
|
||||
)
|
||||
|
||||
# Link test support library if testing is enabled (for TestManager)
|
||||
if(YAZE_BUILD_TESTS AND TARGET yaze_test_support)
|
||||
target_link_libraries(yaze_editor PUBLIC yaze_test_support)
|
||||
endif()
|
||||
|
||||
if(YAZE_WITH_JSON)
|
||||
target_include_directories(yaze_editor PUBLIC
|
||||
${CMAKE_SOURCE_DIR}/third_party/json/include)
|
||||
|
||||
Reference in New Issue
Block a user