Skip to content

Commit

Permalink
Remove debug message from cmake/bluepad32 project
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Dec 18, 2023
1 parent e14866f commit 531e6d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ $ make -j
To run it do:
```
$ cd build
$ sudo ./bluepad32_linux_app
$ sudo ./bluepad32_linux_example_app
```
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The following lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.13)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(bluepad32-app)
4 changes: 2 additions & 2 deletions src/components/bluepad32/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include(CMakePrintHelpers)
set(srcs
"bt/uni_bt.c"
"bt/uni_bt_allowlist.c"
Expand Down Expand Up @@ -47,6 +46,7 @@ set(srcs
# Bluetooth Classic files used by:
# - ESP32
# - Pico W
# - Linux (assuming BT dongle supports BR/EDR)
list(APPEND srcs
# BR/EDR code only gets compiled on ESP32
"bt/uni_bt_bredr.c"
Expand Down Expand Up @@ -136,6 +136,7 @@ if(DEFINED ENV{BLUEPAD32_ARDUINO})
endif()

string(REPLACE ";" " " ext_symbols "${ext_symbols}")

if(IDF_TARGET)
# ESP-IDF
target_link_libraries(${COMPONENT_LIB} INTERFACE ${ext_symbols})
Expand All @@ -153,4 +154,3 @@ elseif(BLUEPAD32_TARGET_LINUX)
else()
message(FATAL_ERROR "Define target")
endif()
cmake_print_variables(srcs)

0 comments on commit 531e6d5

Please sign in to comment.