index.html
)
-ADD_CUSTOM_TARGET(INSTALL_GUI_DOCS
+ADD_CUSTOM_TARGET(usr_docs
SOURCES ${HTML_RESOURCES}
COMMAND "${CMAKE_COMMAND}" --build "${PROJECT_BINARY_DIR}" --target install --config ${CMAKE_BUILD_TYPE}
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/doc/gui"
)
INSTALL(FILES ${HTML_RESOURCES} DESTINATION ${SHAPER_INSTALL_GUI_DOC} OPTIONAL)
+
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_docs)")
"${CMAKE_CURRENT_BINARY_DIR}/doxyfile"
IMMEDIATE @ONLY)
-ADD_CUSTOM_TARGET(INSTALL_TUI_DOCS
+ADD_CUSTOM_TARGET(dev_docs
COMMAND "${DOXYGEN_EXECUTABLE}"
COMMAND "${CMAKE_COMMAND}" --build "${PROJECT_BINARY_DIR}" --target install --config ${CMAKE_BUILD_TYPE}
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/doc/tui"
CONFIG_EXPORT std::string rootType() const { return myRootTypes; }
/// Returns number of folders under root
- CONFIG_EXPORT int rootFoldersNumber() const { return int(myRootFolderNames.size()); }
+ CONFIG_EXPORT size_t rootFoldersNumber() const { return myRootFolderNames.size(); }
/// Returns name of the folder by its Id
/// \param theId id of the folder
CONFIG_EXPORT std::string subType() const { return mySubTypes; }
/// Returns number of folders under sub document
- CONFIG_EXPORT int subFoldersNumber() const { return int(mySubFolderNames.size()); }
+ CONFIG_EXPORT size_t subFoldersNumber() const { return mySubFolderNames.size(); }
/// Returns name of the folder by its Id
/// \param theId id of the folder
#ifdef DEB_UPDATE
std::cout<<"*** Add process on finish "<<theFeature->name()<<std::endl;
#endif
+ // keeps the currently updated features to avoid infinitive cycling here: where feature on
+ // "updateArguments" sends "updated" (in selection attribute) and goes here again
static std::set<FeaturePtr> aCurrentlyUpdated;
if (aCurrentlyUpdated.find(theFeature) == aCurrentlyUpdated.end()) {
aCurrentlyUpdated.insert(theFeature);