blob: 333dcef0fe69254d6f0de64ed8ed5d60e4314ab1 [file] [log] [blame]
# Copyright 2017 Google Inc. All Rights Reserved.
config("eigen3_config") {
include_dirs = [ "." ]
}
config("eigen3_warnings") {
cflags = [ "-Wno-unused-result" ]
}
config("eigen3_license_config") {
defines = [ "EIGEN_MPL2_ONLY" ]
}
# Hint: Use "find eigen3 -type f" to list all the files. Remove unnecessary ones
# like CMakeLists.txt, docs, bench, or tests. Remove NonMPL2.h for licensing.
# In sublime (Ctrl+Shift+L) or use any multi-line editor to format this.
# TODO(alexfandrianto): Remove the temporary unsupported/Eigen/CXX11/Core, which
# was only added to make the eigen3 switch a little easier.
source_set("eigen3") {
all_dependent_configs = [
":eigen3_config",
":eigen3_warnings",
]
public_configs = [ ":eigen3_license_config" ]
}