Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for missing
inline
on functions in public headers. (NVIDIA#2570)
* Check for missing `inline` on functions in public headers. We can test for missing `inline` markup by linking the header objects into the same target twice. By default CMake will eliminate duplicate link targets, but linking both the target and the $<TARGET_OBJECTS:target> bypasses the duplicate checks. * Add -fPIC, formatting. * Switch link_check to executable to avoid -fPIC issues
- Loading branch information