From 2f70b644d1924d0aeb31a9c172818b1e5bd80306 Mon Sep 17 00:00:00 2001 From: Ilia Motornyi Date: Fri, 15 Oct 2021 14:01:06 +0300 Subject: [PATCH] Tiny mistakes fixed --- CMake-Embarcadero-BCC32C/CMakeLists.txt | 2 +- CMake-SDCC/CMakeLists.txt | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CMake-Embarcadero-BCC32C/CMakeLists.txt b/CMake-Embarcadero-BCC32C/CMakeLists.txt index f2aac71..01481e5 100644 --- a/CMake-Embarcadero-BCC32C/CMakeLists.txt +++ b/CMake-Embarcadero-BCC32C/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.21) -project(custom-compiler-test C CXX) +project(CMake-Embarcadero-BCC32C C CXX) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_C_STANDARD 99) diff --git a/CMake-SDCC/CMakeLists.txt b/CMake-SDCC/CMakeLists.txt index 34792eb..e933415 100644 --- a/CMake-SDCC/CMakeLists.txt +++ b/CMake-SDCC/CMakeLists.txt @@ -1,9 +1,5 @@ cmake_minimum_required(VERSION 3.21) set(CMAKE_SYSTEM_NAME Generic) -# Trick CMake that the compiler always works -set(CMAKE_C_COMPILER_WORKS 1) #todo -set(CMAKE_CXX_COMPILER_WORKS 1) #todo -# End of trick #Find the compiler find_program(SDCC_COMPILER sdcc) @@ -32,4 +28,3 @@ add_compile_options(-mstm8) add_link_options(-mstm8) add_executable(custom-compiler-test cmain.c) -