We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f46e2 commit 3a89108Copy full SHA for 3a89108
codegen/tools/CMakeLists.txt
@@ -24,8 +24,17 @@ target_include_directories(
24
25
# Compile options
26
target_compile_options(
27
- selective_build PUBLIC -Wno-deprecated-declarations -fPIC -frtti -fexceptions
+ selective_build
28
+ PUBLIC -Wno-deprecated-declarations
29
+ -fPIC
30
+ -frtti
31
+ -fexceptions
32
+ -Werror
33
+ -Wunused-variable
34
+ -Wno-unknown-argument
35
)
36
+# We suppress -Wno-unknown-argument because our build system passes -fPIC for
37
+# Unix builds, but we also build on Windows where it's ignored
38
39
# Link against required libraries
40
target_link_libraries(selective_build PRIVATE executorch_core program_schema)
0 commit comments