mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
Merge pull request #104 from derekdai/master
Add global define for debug
This commit is contained in:
commit
70ffd2d532
3 changed files with 5 additions and 3 deletions
|
@ -16,6 +16,10 @@ OPTION(BUILD_ENABLE_DEBUG "Enable Debug" ON )
|
|||
OPTION(RELY_UDEV "Rely in udev tag to select device" OFF )
|
||||
OPTION(BUILD_TESTS "Enable TEST" ON )
|
||||
|
||||
if(BUILD_ENABLE_DEBUG)
|
||||
add_definitions(-DBUILD_ENABLE_DEBUG)
|
||||
endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules (GLIB2 REQUIRED glib-2.0)
|
||||
pkg_check_modules (UDEV REQUIRED libudev)
|
||||
|
|
|
@ -140,7 +140,7 @@ Steps to use it as peer:
|
|||
|
||||
4. Locate them using scanning
|
||||
|
||||
> psp-scan
|
||||
> p2p-scan
|
||||
|
||||
5. Apart from list, or show info with peer <mac> there's nothing useful here by now. For a Q&D see [Using as peer](https://github.com/albfan/miraclecast/issues/4)
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#cmakedefine BUILD_ENABLE_DEBUG
|
||||
|
||||
#cmakedefine BUILD_BINDIR "@BUILD_BINDIR@"
|
||||
|
||||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue