Add dependencies & improve readme
This commit is contained in:
committed by
Brendan Le Glaunec
parent
95276760be
commit
5f80f1b76a
@@ -0,0 +1,20 @@
|
||||
|
||||
|
||||
set(command "/usr/bin/make")
|
||||
execute_process(
|
||||
COMMAND ${command}
|
||||
RESULT_VARIABLE result
|
||||
OUTPUT_FILE "/home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-build-out.log"
|
||||
ERROR_FILE "/home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-build-err.log"
|
||||
)
|
||||
if(result)
|
||||
set(msg "Command failed: ${result}\n")
|
||||
foreach(arg IN LISTS command)
|
||||
set(msg "${msg} '${arg}'")
|
||||
endforeach()
|
||||
set(msg "${msg}\nSee also\n /home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-build-*.log")
|
||||
message(FATAL_ERROR "${msg}")
|
||||
else()
|
||||
set(msg "deps.jsoncpp build command succeeded. See also /home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-build-*.log")
|
||||
message(STATUS "${msg}")
|
||||
endif()
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
|
||||
set(command "/usr/bin/cmake;-DCMAKE_INSTALL_PREFIX=/home/ullaakut/Work/cameradar/deps/jsoncpp;-DBUILD_TYPE=Release;-DBUILD_STATIC_LIBS=OFF;-DBUILD_SHARED_LIBS=ON;-DJSONCPP_WITH_TESTS=OFF;-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF;/home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp")
|
||||
execute_process(
|
||||
COMMAND ${command}
|
||||
RESULT_VARIABLE result
|
||||
OUTPUT_FILE "/home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-configure-out.log"
|
||||
ERROR_FILE "/home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-configure-err.log"
|
||||
)
|
||||
if(result)
|
||||
set(msg "Command failed: ${result}\n")
|
||||
foreach(arg IN LISTS command)
|
||||
set(msg "${msg} '${arg}'")
|
||||
endforeach()
|
||||
set(msg "${msg}\nSee also\n /home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-configure-*.log")
|
||||
message(FATAL_ERROR "${msg}")
|
||||
else()
|
||||
set(msg "deps.jsoncpp configure command succeeded. See also /home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-configure-*.log")
|
||||
message(STATUS "${msg}")
|
||||
endif()
|
||||
@@ -0,0 +1 @@
|
||||
Cloning into 'deps.jsoncpp'...
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
|
||||
set(command "/usr/bin/cmake;-P;/home/ullaakut/Work/cameradar/deps/jsoncpp/tmp/deps.jsoncpp-gitclone.cmake")
|
||||
execute_process(
|
||||
COMMAND ${command}
|
||||
RESULT_VARIABLE result
|
||||
OUTPUT_FILE "/home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-download-out.log"
|
||||
ERROR_FILE "/home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-download-err.log"
|
||||
)
|
||||
if(result)
|
||||
set(msg "Command failed: ${result}\n")
|
||||
foreach(arg IN LISTS command)
|
||||
set(msg "${msg} '${arg}'")
|
||||
endforeach()
|
||||
set(msg "${msg}\nSee also\n /home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-download-*.log")
|
||||
message(FATAL_ERROR "${msg}")
|
||||
else()
|
||||
set(msg "deps.jsoncpp download command succeeded. See also /home/ullaakut/Work/cameradar/deps/jsoncpp/src/deps.jsoncpp-stamp/deps.jsoncpp-download-*.log")
|
||||
message(STATUS "${msg}")
|
||||
endif()
|
||||
@@ -0,0 +1,3 @@
|
||||
repository='https://github.com/open-source-parsers/jsoncpp.git'
|
||||
module=''
|
||||
tag=''
|
||||
Reference in New Issue
Block a user