1 #ifndef SIPLASPLAS_CMAKE_TARGET_HPP 2 #define SIPLASPLAS_CMAKE_TARGET_HPP 4 #include <siplasplas/signals/emitter.hpp> 5 #include <siplasplas/fswatch/fslistener.hpp> 6 #include <siplasplas/cmake/export.hpp> 54 std::string sourceDir;
55 std::string binaryDir;
56 std::vector<std::string> sources;
57 std::vector<std::string> includeDirs;
59 std::string binaryDebug;
168 const std::string& name()
const;
173 std::vector<efsw::WatchID> _inputWatches;
174 std::vector<efsw::WatchID> _outputWatches;
177 void onFileChanged(efsw::WatchID watchId,
const std::string& dir,
const std::string& fileName);
178 static void filterErroredWatches(std::vector<efsw::WatchID>& watches);
183 #include <reflection/include/siplasplas/cmake/target.hpp> 185 #endif // SIPLASPLAS_CMAKE_TARGET_HPP Configures and builds an existing CMake project.
Definition: project.hpp:58
void buildFinished(bool successful)
Target build has finished.
Definition: target.hpp:132
void buildStarted()
Target build has started.
Definition: target.hpp:125
Class that can send and receive signals from other emitters.
Definition: emitter.hpp:66
Definition: canary_allocator.hpp:7
Represents a CMake target being watched by a project.
Definition: target.hpp:32
void stdoutLine(const std::string &line)
stdout line feed from target build.
Definition: target.hpp:144
void reloadBinary(const std::string &binary)
A binary artifact has changed and should be reloaded.
Definition: target.hpp:151