|
@@ -45,8 +45,15 @@ private:
|
|
|
|
|
|
|
|
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
|
|
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
|
|
|
const std::string& filename);
|
|
const std::string& filename);
|
|
|
|
|
+ /** Populates allFiles with the full paths to all of the source files
|
|
|
|
|
+ * from the local generators in lgs.
|
|
|
|
|
+ */
|
|
|
void GetFileList(const std::vector<cmLocalGenerator*>& lgs,
|
|
void GetFileList(const std::vector<cmLocalGenerator*>& lgs,
|
|
|
std::vector<std::string>& allFiles);
|
|
std::vector<std::string>& allFiles);
|
|
|
|
|
+ /** Sends comma seperated source files paths to fileIncludePatternsStream
|
|
|
|
|
+ * and builds a set of all directories and subdirectories containing
|
|
|
|
|
+ * source files.
|
|
|
|
|
+ */
|
|
|
void GetFileStringAndFolderSet(const std::vector<cmLocalGenerator*>& lgs,
|
|
void GetFileStringAndFolderSet(const std::vector<cmLocalGenerator*>& lgs,
|
|
|
const cmMakefile* mf,
|
|
const cmMakefile* mf,
|
|
|
const std::vector<std::string>& allFiles,
|
|
const std::vector<std::string>& allFiles,
|
|
@@ -61,8 +68,14 @@ private:
|
|
|
cmGeneratedFileStream& fout,
|
|
cmGeneratedFileStream& fout,
|
|
|
std::set<std::string>& includeDirs,
|
|
std::set<std::string>& includeDirs,
|
|
|
std::set<std::string>& defines);
|
|
std::set<std::string>& defines);
|
|
|
|
|
+ /** Returns the build command that needs to be executed to build the
|
|
|
|
|
+ * specified target.
|
|
|
|
|
+ */
|
|
|
std::string BuildMakeCommand(const std::string& make, const char* makefile,
|
|
std::string BuildMakeCommand(const std::string& make, const char* makefile,
|
|
|
const char* target);
|
|
const char* target);
|
|
|
|
|
+ /** Appends the specified target to the generated project file as a Sublime
|
|
|
|
|
+ * Text build system.
|
|
|
|
|
+ */
|
|
|
void AppendTarget(cmGeneratedFileStream& fout,
|
|
void AppendTarget(cmGeneratedFileStream& fout,
|
|
|
const char* targetName,
|
|
const char* targetName,
|
|
|
cmTarget* target,
|
|
cmTarget* target,
|