Tidy up to get external project working
This commit is contained in:
parent
be6f1157af
commit
65aa8be888
3 changed files with 3 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ pico_sdk_init()
|
||||||
|
|
||||||
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror")
|
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror")
|
||||||
|
|
||||||
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
||||||
include(pico_dvhstx.cmake)
|
include(pico_dvhstx.cmake)
|
||||||
|
|
||||||
add_subdirectory(examples/dvhstx)
|
add_subdirectory(examples/dvhstx)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#include "pico_graphics.hpp"
|
#include "pico_graphics.hpp"
|
||||||
#include "dvhstx.hpp"
|
#include "drivers/dvhstx/dvhstx.hpp"
|
||||||
|
|
||||||
namespace pimoroni {
|
namespace pimoroni {
|
||||||
enum BlendMode {
|
enum BlendMode {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
add_subdirectory(drivers/dvhstx)
|
include(drivers/dvhstx/dvhstx)
|
||||||
|
|
||||||
set(LIB_NAME pico_dvhstx)
|
set(LIB_NAME pico_dvhstx)
|
||||||
add_library(${LIB_NAME} INTERFACE)
|
add_library(${LIB_NAME} INTERFACE)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue