cleanup cmakelists.txt
This commit is contained in:
parent
2bd25266b9
commit
6eac53e715
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue