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 93f584e commit 0083475Copy full SHA for 0083475
Fw/Types/CMakeLists.txt
@@ -39,4 +39,6 @@ add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/GTest")
39
40
# Create an empty interface library and use it to register an implementation
41
add_library(snprintf-format ${VALID_EMPTY})
42
+# Must surpress empty library warnings
43
+target_compile_options(snprintf-format PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Wno-unused-const-variable>)
44
register_fprime_implementation(Fw_StringFormat snprintf-format "${CMAKE_CURRENT_LIST_DIR}/snprintf_format.cpp")
0 commit comments