cmJsonObjects.h 902 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#ifndef cmJsonObjects_h
#define cmJsonObjects_h

#include "cmConfigure.h" // IWYU pragma: keep

#include "cm_jsoncpp_value.h"

#include <string>
#include <vector>

class cmake;
class cmGlobalGenerator;

extern void cmGetCMakeInputs(const cmGlobalGenerator* gg,
                             const std::string& sourceDir,
                             const std::string& buildDir,
                             std::vector<std::string>* internalFiles,
                             std::vector<std::string>* explicitFiles,
                             std::vector<std::string>* tmpFiles);

extern Json::Value cmDumpCodeModel(const cmake* cm);
extern Json::Value cmDumpCTestInfo(const cmake* cm);
extern Json::Value cmDumpCMakeInputs(const cmake* cm);

#endif