diff options
| author | graham sanderson <[email protected]> | 2022-07-12 12:58:30 -0500 |
|---|---|---|
| committer | graham sanderson <[email protected]> | 2022-07-12 12:58:30 -0500 |
| commit | fc1a27b6c9d5a19529d6ac968164f2734ea89023 (patch) | |
| tree | 437513c22237247b4c78e2ebb9e393434cab8f78 /examples/dual | |
| parent | 1a8c3a863bb1d172364ffe80029620fa75efc7a4 (diff) | |
RP@040: rework CMake for compiler warnings
Diffstat (limited to 'examples/dual')
| -rw-r--r-- | examples/dual/host_hid_to_device_cdc/CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/dual/host_hid_to_device_cdc/CMakeLists.txt b/examples/dual/host_hid_to_device_cdc/CMakeLists.txt index 909ee423f..fc9bbfc13 100644 --- a/examples/dual/host_hid_to_device_cdc/CMakeLists.txt +++ b/examples/dual/host_hid_to_device_cdc/CMakeLists.txt @@ -23,8 +23,9 @@ target_include_directories(${PROJECT} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src ) -# Example common such as compiler warnings -include(${CMAKE_CURRENT_SOURCE_DIR}/../../example.cmake) +# Configure compilation flags and libraries for the example... see the corresponding function +# in hw/bsp/FAMILY/family.cmake for details. +family_configure_dual_usb_example(${PROJECT}) # due to warnings from other net source, we need to prevent error from some of the warnings options target_compile_options(${PROJECT} PUBLIC @@ -37,7 +38,3 @@ target_compile_options(${PROJECT} PUBLIC -Wno-error=sign-compare -Wno-error=unused-function ) - -# Configure compilation flags and libraries for the example... see the corresponding function -# in hw/bsp/FAMILY/family.cmake for details. -family_configure_dual_usb_example(${PROJECT}) |
