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) -