Added submodules for glog/fmt (#9)

* Added submodules for glog/fmt

Removes existing printing/formatting code.

* Update external/CMakeLists.txt

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

* Update external/CMakeLists.txt

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

* Update external/CMakeLists.txt

- checkout submodule if not already checked out or clone repo if no .gitmodules file
- find_package(... REQUIRED)

* Disable tests from external directory

* Update external/CMakeLists.txt

- fix type: BRANCH -> REPO_BRANCH

* Update cmake/rocprofiler_register_formatting.cmake

- Include external/CMakeLists.txt in format-cmake target
- include format-cmake in format target

* Fix cmake options

- ROCPROFILE_REGISTER_* -> ROCPROFILER_REGISTER_*

* Update rocprofiler_register_linting.cmake

- fix header filter to exclude external headers
- enable warning-as-errors except for misc-header-include-cycle because that originates in fmt headers

* Fix clang-tidy error in utility.cpp

- a bit out of place in this PR but caught due to --warning-as-errors addition

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Esse commit está contido em:
Benjamin Welton
2023-08-17 18:01:34 -07:00
commit de GitHub
commit 33b19051d2
17 arquivos alterados com 78 adições e 783 exclusões
+6
Ver Arquivo
@@ -0,0 +1,6 @@
[submodule "external/glog"]
path = external/glog
url = https://github.com/google/glog.git
[submodule "external/fmt"]
path = external/fmt
url = https://github.com/fmtlib/fmt.git