-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I want to silence warnings from slint_generated_*.cpp files and files in _deps folder. To solve the problem, I did the following.
- Provide
SYSTEMargument inFetchContent_Declare()to silence warnings from files in_depsfolder. - To silence warnings from generated file in
CMakeLists.txt:
set_source_files_properties("slint_generated_ui_1.cpp" PROPERTIES COMPILE_OPTIONS "-w")My compiler flags are declared in CMakePresets.json. Is there a better way to silence warnings?
Metadata
Metadata
Assignees
Labels
No labels