Permalink
Browse files

cmake: add proposal how to print deps

see #1016
  • Loading branch information...
markus2330 committed Nov 26, 2017
1 parent c307129 commit 7de1ea621168c76b3d51a8b405a1a4bbfff4406e
Showing with 25 additions and 0 deletions.
  1. +25 −0 cmake/PrintDependencies.cmake
@@ -0,0 +1,25 @@
#
# Print a list of Elektra's dependencies
#
# (currently only essential deps, excluding CMake which is needed
# to run this script)
#
# == Usage ==
#
# On Debian/Ubuntu:
#
# apt-get install `cmake -DPLUGINS="ALL" -P cmake/PrintDependencies.cmake`
#
# On Apple:
#
# brew install `cmake -DPLUGINS="ALL" -P cmake/PrintDependencies.cmake`
#
execute_process (COMMAND lsb_release -is OUTPUT_VARIABLE LSB_DISTRIB)
if ("${LSB_DISTRIB}" MATCHES "Ubuntu|Debian")
set (DEPS "build-essential")
elseif (APPLE)
endif ()
message (${DEPS})

0 comments on commit 7de1ea6

Please sign in to comment.