Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-6.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Feb 11, 2018
2 parents e9ab084 + 3059105 commit f92022d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# DART: Dynamic Animation and Robotics Toolkit
[![Build Status](https://travis-ci.org/dartsim/dart.png?branch=master)](https://travis-ci.org/dartsim/dart) [![Build status](https://ci.appveyor.com/api/projects/status/6rta8olo95bpu84r/branch/master?svg=true)](https://ci.appveyor.com/project/jslee02/dart/branch/master) [![codecov](https://codecov.io/gh/dartsim/dart/branch/master/graph/badge.svg)](https://codecov.io/gh/dartsim/dart) [![DOI](http://joss.theoj.org/papers/10.21105/joss.00500/status.svg)](https://doi.org/10.21105/joss.00500)
[![Build Status](https://travis-ci.org/dartsim/dart.png?branch=master)](https://travis-ci.org/dartsim/dart) [![Build status](https://ci.appveyor.com/api/projects/status/6rta8olo95bpu84r/branch/master?svg=true)](https://ci.appveyor.com/project/jslee02/dart/branch/master) [![codecov](https://codecov.io/gh/dartsim/dart/branch/master/graph/badge.svg)](https://codecov.io/gh/dartsim/dart) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/1251beff30164eb7ba60a1cc9e6daef9)](https://www.codacy.com/app/jslee02/dart?utm_source=github.com&utm_medium=referral&utm_content=dartsim/dart&utm_campaign=Badge_Grade) [![DOI](http://joss.theoj.org/papers/10.21105/joss.00500/status.svg)](https://doi.org/10.21105/joss.00500)

Visit the [DART website](http://dartsim.github.io/) for more information
* [Gallery](http://dartsim.github.io/gallery.html)
Expand Down
17 changes: 16 additions & 1 deletion cmake/DARTMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,20 @@ endfunction(dart_add_tutorial)

#===============================================================================
function(dart_format_add)
dart_property_add(DART_FORMAT_FILES ${ARGN})
foreach(source ${ARGN})
if(IS_ABSOLUTE "${source}")
set(source_abs "${source}")
else()
get_filename_component(source_abs
"${CMAKE_CURRENT_LIST_DIR}/${source}" ABSOLUTE)
endif()
if(EXISTS "${source_abs}")
dart_property_add(DART_FORMAT_FILES "${source_abs}")
else()
message(FATAL_ERROR
"Source file '${source}' does not exist at absolute path"
" '${source_abs}'. This should never happen. Did you recently delete"
" this file or modify 'CMAKE_CURRENT_LIST_DIR'")
endif()
endforeach()
endfunction()

0 comments on commit f92022d

Please sign in to comment.