Use configure_file() to configure version only (#4974)

* Avoid writing build_config.h

* Remove build_config.h all together.

* Lint.
This commit is contained in:
Jiaming Yuan
2019-10-23 02:47:00 -04:00
committed by Philip Hyunsu Cho
parent 5b1715d97c
commit f24be2efb4
14 changed files with 74 additions and 68 deletions

View File

@@ -1,10 +1,4 @@
// Copyright (c) 2014-2019 by Contributors
#include <xgboost/data.h>
#include <xgboost/learner.h>
#include <xgboost/c_api.h>
#include <xgboost/logging.h>
#include <dmlc/thread_local.h>
#include <rabit/rabit.h>
#include <rabit/c_api.h>
@@ -16,6 +10,12 @@
#include <string>
#include <memory>
#include "xgboost/data.h"
#include "xgboost/learner.h"
#include "xgboost/c_api.h"
#include "xgboost/logging.h"
#include "xgboost/version_config.h"
#include "c_api_error.h"
#include "../data/simple_csr_source.h"
#include "../common/math.h"