aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2016-12-31 22:16:44 -0500
committerGitHub <noreply@github.com>2016-12-31 22:16:44 -0500
commitbb396ed8fcc66afd2a70943cbd2a152328dbe0a8 (patch)
treec7d362d9fd0e43fc39460b8aed493621f71fd33d /CMakeLists.txt
parentf7dd8d5e816c4157ae909600fd2a7d848a1c9712 (diff)
parent4a6cf7ecaf099f3548db2ef6104407d566572bf1 (diff)
Merge pull request #2254 from jroweboy/bintray
Add deploy to bintray for builds to master
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 52a1fd492..e232d99a4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -253,6 +253,11 @@ get_git_head_revision(GIT_REF_SPEC GIT_REV)
git_describe(GIT_DESC --always --long --dirty)
git_branch_name(GIT_BRANCH)
+# configure the bintray travis release json
+string(TIMESTAMP BUILD_DATE "%Y-%m-%d")
+configure_file("${CMAKE_SOURCE_DIR}/.travis.descriptor.json.in" "${CMAKE_SOURCE_DIR}/.travis.descriptor.json" @ONLY)
+unset(BUILD_DATE)
+
set(INI_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/externals/inih")
include_directories(${INI_PREFIX})
add_subdirectory(${INI_PREFIX})