Slicer: 2145-support-for-installing-extension-from-file 0311b046

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-09-18 20:15:06 2145-support-for-installing-extension-from-file ba0f39d5
Changeset

COMP: Easier extension build checking environment for midaspackage* vars

When doing extension experimental build, having to systematically passing
the option -DMIDAS_PACKAGE_EMAIL:STRING=<email> and
-DMIDAS_PACKAGE_API_KEY:STRING=<api_key> was tedious.

After this commit, the build system will first check if corresponding
variables are set in the environment.

On unix system, the variables could be set in the ~/.bash_aliases file
using the following syntax:

export MIDAS_PACKAGE_EMAIL=YOUR_EMAIL
export MIDAS_PACKAGE_API_KEY=YOUR_API_KEY

On windows, you could follow these instructions:
http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7/

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22457 3bd1e089-480b-0410-8dfb-8563597acbee

mod - CMake/UseSlicer.cmake.in Diff File
mod - Extensions/CMake/CMakeLists.txt Diff File