diff options
| author | James Rowe <jroweboy@gmail.com> | 2016-12-31 22:16:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-31 22:16:44 -0500 |
| commit | bb396ed8fcc66afd2a70943cbd2a152328dbe0a8 (patch) | |
| tree | c7d362d9fd0e43fc39460b8aed493621f71fd33d /CMakeLists.txt | |
| parent | f7dd8d5e816c4157ae909600fd2a7d848a1c9712 (diff) | |
| parent | 4a6cf7ecaf099f3548db2ef6104407d566572bf1 (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.txt | 5 |
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}) |
