From 820e89ead9577c7aa4b7ef10f363daf8a28247ac Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Tue, 8 Jun 2021 00:56:19 +0200 Subject: :sparkles: Do lots of small tweaks --- CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 879568c..e2130f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,17 +82,6 @@ SET(CODAL_OUTPUT_NAME ${device.device}) SET(CODAL_TARGET_PROCESSOR ${device.processor}) SET(CODAL_TARGET_CPU_ARCHITECTURE ${device.architecture}) -# if this is the first build, lets copy a sample main.cpp from the target if available. -if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/${CODAL_APP_SOURCE_DIR} AND EXISTS ${CMAKE_CURRENT_LIST_DIR}/${LIB_DEST}/${codal.target.name}/samples/main.cpp) - FILE(COPY ${CMAKE_CURRENT_LIST_DIR}/${LIB_DEST}/${codal.target.name}/samples/main.cpp DESTINATION ${CMAKE_CURRENT_LIST_DIR}/${CODAL_APP_SOURCE_DIR}) -endif() - -#copy samples and remove main.cpp -if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/samples AND EXISTS ${CMAKE_CURRENT_LIST_DIR}/${LIB_DEST}/${codal.target.name}/samples/) - FILE(COPY ${CMAKE_CURRENT_LIST_DIR}/${LIB_DEST}/${codal.target.name}/samples DESTINATION ${CMAKE_CURRENT_LIST_DIR}) - FILE(REMOVE ${CMAKE_CURRENT_LIST_DIR}/samples/main.cpp) -endif() - #################### SET(TOOLCHAIN ${device.toolchain}) -- cgit v1.2.3