Update CMake configuration and .clangd settings for improved build management
- Removed unnecessary compile flags from .clangd to streamline configuration. - Added YAZE_BUILD_LIB option in CMakeLists.txt for conditional library building in minimal builds. - Enhanced SDL2 CMake configuration to set include directories for bundled SDL, ensuring proper integration. - Updated test CMakeLists.txt to conditionally link yaze_c and ImGuiTestEngine based on build options, improving modularity and flexibility. - Refactored test_editor.cc and test_editor.h to conditionally include ImGuiTestEngine headers and manage engine initialization based on availability.
This commit is contained in:
@@ -165,6 +165,7 @@ if (YAZE_BUILD_LIB)
|
||||
${SDL_TARGETS}
|
||||
${CMAKE_DL_LIBS}
|
||||
ImGui
|
||||
Threads::Threads
|
||||
)
|
||||
|
||||
# Conditionally link ImGui Test Engine and set definitions
|
||||
|
||||
Reference in New Issue
Block a user