diff options
author | Treeve Jelbert | 2018-04-22 21:14:54 +0200 |
---|---|---|
committer | Treeve Jelbert | 2018-04-23 09:51:00 +0200 |
commit | 8f6c6d760a626568b34a8cca06e818c950c09322 (patch) | |
tree | c410876294d030ac3080e8e22dfb29a3f6b0299d /CMAKE_FUNCTIONS | |
parent | 90b2e6572155e70e6d719c7bab811945d93456d2 (diff) |
add CMAKE_FUNCTIONS
Diffstat (limited to 'CMAKE_FUNCTIONS')
-rwxr-xr-x | CMAKE_FUNCTIONS | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMAKE_FUNCTIONS b/CMAKE_FUNCTIONS new file mode 100755 index 0000000000..85857feb74 --- /dev/null +++ b/CMAKE_FUNCTIONS @@ -0,0 +1,10 @@ +PREFIX=${PREFIX:-/usr} +default_build () { + cd $SOURCE_DIRECTORY + mkdir -p build + OPTS+=" -DBUILD_SHARED_LIBS=1" + cmake_build +} +default_install () { + cmake_install +} |