CMakePP / CMakePPLang

Object-oriented extension to the CMake language.
http://cmakepp.github.io/CMakePPLang/
Apache License 2.0
11 stars 4 forks source link

Document 'cpp_return' more #59

Closed zachcran closed 2 years ago

zachcran commented 2 years ago

Is this pull request associated with an issue(s)? No.

Description This PR adds more documentation for the cpp_return function with tested code examples.

Currently, cpp_return is not listed under the available utilities. It also does not have an entry in the "Using Utilities" section. The only example is in the "Getting Started" section for classes here.

TODOs

zachcran commented 2 years ago

@ryanmrichard r2g if the tests pass

ryanmrichard commented 2 years ago

@zachcran any idea what's wrong with 3.16.3?

zachcran commented 2 years ago

@ryanmrichard I am not sure. I'm having a hard time pinpointing exactly what line of the test is even causing the issue. It works on 3.14 and 3.15 in the tests, as well as 3.23 on my system, so I don't know what is happening with 3.16.3. I'll look at it a bit more later and see if anything jumps out at me.