build: merge Coati app and Trial to single executable
* removed trial target * updated deploy scripts to exclude trial * cleanup CMakeLists * removed Eigen dependencies * split parser lib into lib_cxx and lib_java * added ProjectFactory and ProjectFactoryModules * removed old installer projects * updated wix installer * updated readme for wix setup * updated to use obfuscated exe * added qt.conf * added indexing dialog images * added jars * added coatidb files of sample projects * added source code of javaparser sample * removed auto-refresh image * intermediate files of windows installer are created in build folder * preselected desktop shortcut * build bat is executed from deploy_windows script
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#include "data/parser/cxx/CxxCompilationDatabaseSingle.h"
|
||||
|
||||
CxxCompilationDatabaseSingle::CxxCompilationDatabaseSingle(const clang::tooling::CompileCommand& command)
|
||||
: m_command(command)
|
||||
{
|
||||
}
|
||||
|
||||
std::vector<clang::tooling::CompileCommand> CxxCompilationDatabaseSingle::getCompileCommands(
|
||||
llvm::StringRef FilePath
|
||||
) const {
|
||||
return getAllCompileCommands();
|
||||
}
|
||||
|
||||
std::vector<std::string> CxxCompilationDatabaseSingle::getAllFiles() const
|
||||
{
|
||||
return std::vector<std::string>(1, m_command.Filename);
|
||||
}
|
||||
|
||||
std::vector<clang::tooling::CompileCommand> CxxCompilationDatabaseSingle::getAllCompileCommands() const
|
||||
{
|
||||
return std::vector<clang::tooling::CompileCommand>(1, m_command);
|
||||
}
|
||||
Reference in New Issue
Block a user