From 3e96dea278718bdaf811d94734a2219f43189059 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 26 Oct 2020 12:28:10 +1000 Subject: [PATCH] cmake: create a directory for toolchain files --- mingw.toolchain => cmake/toolchain/mingw | 0 init.py | 7 +++---- 2 files changed, 3 insertions(+), 4 deletions(-) rename mingw.toolchain => cmake/toolchain/mingw (100%) diff --git a/mingw.toolchain b/cmake/toolchain/mingw similarity index 100% rename from mingw.toolchain rename to cmake/toolchain/mingw diff --git a/init.py b/init.py index f4a5c01..453b253 100755 --- a/init.py +++ b/init.py @@ -142,10 +142,9 @@ OPTIONS['ninja'] = Option( # ----------------------------------------------------------------------------- OPTIONS['mingw'] = Option( vars={ - 'CMAKE_TOOLCHAIN_FILE': os.path.realpath( - os.path.join( - os.path.dirname(__file__), - 'mingw.toolchain') + 'CMAKE_TOOLCHAIN_FILE': os.path.join( + os.path.dirname(__file__), + 'cmake', 'toolchain', 'mingw' ) }, compiler='gcc',