🔧 Replaced cmakelist with a makefile

This commit is contained in:
2021-03-15 15:15:14 +01:00
parent 52aeae3c6c
commit ca948a78a2
5 changed files with 13 additions and 44 deletions

View File

@@ -1,23 +0,0 @@
cmake_minimum_required(VERSION 3.16)
project(ci-scripts LANGUAGES NONE)
set(TOOLS "kitware/cmake" "conan-io/conan" "mozilla/sccache")
foreach (item IN ITEMS ${TOOLS})
string(REPLACE "/" ";" RLIST ${item})
list(GET RLIST 1 TOOL)
add_custom_target(
${TOOL}
COMMAND ${CMAKE_COMMAND} -DTOOL=${TOOL} -DREPO=${item} -P ${CMAKE_SOURCE_DIR}/update.cmake
VERBATIM
)
list(APPEND all_tools ${TOOL})
endforeach ()
add_custom_target(
update_all ALL
COMMENT "Update all tools"
DEPENDS ${all_tools}
VERBATIM
)