diff --git a/CMakeLists.txt b/CMakeLists.txt index 50df8e48..43fa60ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,12 @@ cmake_minimum_required(VERSION 2.8) PROJECT(picrin) + +# load extra cmake modules set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") +# ---- + # git submodule update --init execute_process( COMMAND ${GIT_EXECUTABLE} submodule update --init @@ -26,6 +30,8 @@ include(tools/CMakeLists.txt) file(COPY piclib DESTINATION .) file(COPY etc DESTINATION .) +# ---- + # $ make run add_custom_target(run bin/picrin DEPENDS repl)