Drop redundant -D

This commit is contained in:
Phil Howard 2021-03-23 13:00:01 +00:00
parent 2c5b708685
commit 2ebad4e735
5 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@ target_include_directories(usermod_pico_display INTERFACE
) )
target_compile_definitions(usermod_pico_display INTERFACE target_compile_definitions(usermod_pico_display INTERFACE
-DMODULE_PICODISPLAY_ENABLED=1 MODULE_PICODISPLAY_ENABLED=1
) )
target_link_libraries(usermod INTERFACE usermod_pico_display) target_link_libraries(usermod INTERFACE usermod_pico_display)
@ -24,4 +24,4 @@ set_source_files_properties(
${CMAKE_CURRENT_LIST_DIR}/pico_display.c ${CMAKE_CURRENT_LIST_DIR}/pico_display.c
PROPERTIES COMPILE_FLAGS PROPERTIES COMPILE_FLAGS
"-Wno-discarded-qualifiers -Wno-implicit-int" "-Wno-discarded-qualifiers -Wno-implicit-int"
) )

View File

@ -15,7 +15,7 @@ target_include_directories(usermod_pico_explorer INTERFACE
) )
target_compile_definitions(usermod_pico_explorer INTERFACE target_compile_definitions(usermod_pico_explorer INTERFACE
-DMODULE_PICOEXPLORER_ENABLED=1 MODULE_PICOEXPLORER_ENABLED=1
) )
target_link_libraries(usermod INTERFACE usermod_pico_explorer) target_link_libraries(usermod INTERFACE usermod_pico_explorer)
@ -24,4 +24,4 @@ set_source_files_properties(
${CMAKE_CURRENT_LIST_DIR}/pico_explorer.c ${CMAKE_CURRENT_LIST_DIR}/pico_explorer.c
PROPERTIES COMPILE_FLAGS PROPERTIES COMPILE_FLAGS
"-Wno-discarded-qualifiers -Wno-implicit-int" "-Wno-discarded-qualifiers -Wno-implicit-int"
) )

View File

@ -11,7 +11,7 @@ target_include_directories(usermod_pico_rgb_keypad INTERFACE
) )
target_compile_definitions(usermod_pico_rgb_keypad INTERFACE target_compile_definitions(usermod_pico_rgb_keypad INTERFACE
-DMODULE_PICOKEYPAD_ENABLED=1 MODULE_PICOKEYPAD_ENABLED=1
) )
target_link_libraries(usermod INTERFACE usermod_pico_rgb_keypad) target_link_libraries(usermod INTERFACE usermod_pico_rgb_keypad)
@ -20,4 +20,4 @@ set_source_files_properties(
${CMAKE_CURRENT_LIST_DIR}/pico_rgb_keypad.c ${CMAKE_CURRENT_LIST_DIR}/pico_rgb_keypad.c
PROPERTIES COMPILE_FLAGS PROPERTIES COMPILE_FLAGS
"-Wno-discarded-qualifiers -Wno-implicit-int" "-Wno-discarded-qualifiers -Wno-implicit-int"
) )

View File

@ -11,7 +11,7 @@ target_include_directories(usermod_pico_scroll INTERFACE
) )
target_compile_definitions(usermod_pico_scroll INTERFACE target_compile_definitions(usermod_pico_scroll INTERFACE
-DMODULE_PICOSCROLL_ENABLED=1 MODULE_PICOSCROLL_ENABLED=1
) )
target_link_libraries(usermod INTERFACE usermod_pico_scroll) target_link_libraries(usermod INTERFACE usermod_pico_scroll)
@ -20,4 +20,4 @@ set_source_files_properties(
${CMAKE_CURRENT_LIST_DIR}/pico_scroll.c ${CMAKE_CURRENT_LIST_DIR}/pico_scroll.c
PROPERTIES COMPILE_FLAGS PROPERTIES COMPILE_FLAGS
"-Wno-discarded-qualifiers -Wno-implicit-int" "-Wno-discarded-qualifiers -Wno-implicit-int"
) )

View File

@ -13,7 +13,7 @@ target_include_directories(usermod_pico_unicorn INTERFACE
) )
target_compile_definitions(usermod_pico_unicorn INTERFACE target_compile_definitions(usermod_pico_unicorn INTERFACE
-DMODULE_PICOUNICORN_ENABLED=1 MODULE_PICOUNICORN_ENABLED=1
) )
target_link_libraries(usermod INTERFACE usermod_pico_unicorn) target_link_libraries(usermod INTERFACE usermod_pico_unicorn)
@ -22,4 +22,4 @@ set_source_files_properties(
${CMAKE_CURRENT_LIST_DIR}/pico_unicorn.c ${CMAKE_CURRENT_LIST_DIR}/pico_unicorn.c
PROPERTIES COMPILE_FLAGS PROPERTIES COMPILE_FLAGS
"-Wno-discarded-qualifiers -Wno-implicit-int" "-Wno-discarded-qualifiers -Wno-implicit-int"
) )