🔧 Replaced makefile with cmake
This commit is contained in:
15
CMakeLists.txt
Normal file
15
CMakeLists.txt
Normal 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 ()
|
Reference in New Issue
Block a user