🔧 Replaced makefile with cmake

This commit is contained in:
2020-10-19 15:51:06 +02:00
parent 76a08be0ef
commit f79af11e76
4 changed files with 17 additions and 13 deletions

15
CMakeLists.txt Normal file
View File

@ -0,0 +1,15 @@
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
)
endforeach ()