1

Significantly speed up CMake configuration phase by Smjert · Pull Request #6914...

 2 years ago
source link: https://github.com/osquery/osquery/pull/6914
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Member

Smjert commented on Jan 23, 2021

edited

This speeds up the configuration phase and simplifies having
control of the compilation flags used.

Additional changes were required due to other libraries incorrectly
depending on glog and gflags cmake code or headers.
smartmontools especially, was incorrectly publicly depending
on its own config.h, which was though taken from glog
when smartmontools libsmartclt.h header was included by user code.
A fix has been done on the smartmontools side and so the submodule
commit we refer to has been updated.

This also helps towards making possible to generate pre-built libraries.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK