[all-commits] [llvm/llvm-project] 02a2e1: [flang] Harmonize standalone gtest support with ot...
Michał Górny via All-commits
all-commits at lists.llvm.org
Wed Nov 23 18:29:33 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 02a2e18e60b94b05fe8918aa01f0104ef519bf0f
https://github.com/llvm/llvm-project/commit/02a2e18e60b94b05fe8918aa01f0104ef519bf0f
Author: Michał Górny <mgorny at gentoo.org>
Date: 2022-11-24 (Thu, 24 Nov 2022)
Changed paths:
M flang/CMakeLists.txt
Log Message:
-----------
[flang] Harmonize standalone gtest support with other projects
Use the CMake rules of unittest libraries via `add_subdirectory()`
when using standalone builds, similarly to how e.g. Clang does that.
Besides making things more consistent, I hope this also unblocks D137035
and effectively we'll be able to simplify things further and have LLVM
semi-automatically include gtest support for us in the future.
Differential Revision: https://reviews.llvm.org/D138573
More information about the All-commits
mailing list