From 0fe011b186003eaa67c12dcdae7c7ec4a45074e2 Mon Sep 17 00:00:00 2001 From: Jared Young Date: Thu, 14 Nov 2019 03:02:01 +0000 Subject: [PATCH] removed unused cmake file --- CMakeLists.txt | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 487e499..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,30 +0,0 @@ -#Initial version referenced from: https://github.com/macosten/PetProject-m68k/blob/master/CMakeLists.txt - -# To use this example as a standalone project using CMake: -# mkdir build -# cd build -# cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake -# make - -cmake_minimum_required(VERSION 2.8) - -add_application(MicroPython - main.c - uart_core.c - #lib/utils/printf.c - #lib/utils/stdout_helpers.c - #lib/utils/pyexec.c - #lib/libc/string0.c - #lib/mp-readline/readline.c - #$(BUILD)/_frozen_mpy.c - ) - -# Enable -ffunction-sections and -gc-sections to make the app as small as possible -# On 68K, also enable --mac-single to build it as a single-segment app (so that this code path doesn't rot) -set_target_properties(MicroPython PROPERTIES COMPILE_OPTIONS -ffunction-sections) -if(CMAKE_SYSTEM_NAME MATCHES Retro68) - set_target_properties(MicroPython PROPERTIES LINK_FLAGS "-Wl,-gc-sections -Wl,--mac-single") - -else() - set_target_properties(MicroPython PROPERTIES LINK_FLAGS "-Wl,-gc-sections") -endif()