Verified Commit 1bc2448c authored by Felix Kopp's avatar Felix Kopp
Browse files

arch: move build related files to subdirectory

parent d4411fd6
......@@ -3,14 +3,14 @@
cmake_minimum_required(VERSION 3.14.0)
include(options.cmake)
include(arch/${ARCH}/toolchain.cmake)
include(arch/${ARCH}/config/toolchain.cmake)
project(ardix VERSION 0.1.0 LANGUAGES C ASM)
set(CMAKE_C_STANDARD 17)
set(CMAKE_C_EXTENSIONS OFF)
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
endif()
find_package(Git QUIET)
......
......@@ -13,7 +13,7 @@ target_include_directories(ardix_arch PRIVATE
target_compile_definitions(ardix_arch PRIVATE ARDIX_ARCH)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/config.ld.in
${CMAKE_CURRENT_SOURCE_DIR}/config/config.ld.in
${CMAKE_BINARY_DIR}/config.ld # see toolchain.cmake
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment