qertcon.blogg.se

Cmake set variable superset list of files
Cmake set variable superset list of files











In order to remove a plugin interface, be sure to touch all places mentioned above, only in inverse - but usually deprecate first. Checklist for adding / removing a plugin interface In order to remove a plugin, be sure to touch all places mentioned above, only in inverse - but usually deprecate first. Otherwise put the visibility macros directly in PluginName.h. If there is more than one interface header (other than just PluginName.h being installed), add a new visibility.h header.verify that add_library ( Corrade::PluginName ALIAS PluginName ) (or equivalent) is added to make the library visible for CMake subprojects.verify that set_target_properties ( PluginName PROPERTIES POSITION_INDEPENDENT_CODE ON ) is done in case CORRADE_BUILD_STATIC_PIC is set.verify that folder is set for the OBJECT library and the test library to avoid cluttering project tree view in IDEs ( set_target_properties ( PluginNameObjects PROPERTIES FOLDER "CorradePlugins/PluginName" )) - for the plugin library it's done automatically inside add_plugin ().verify that both add_library () and add_plugin () commands reference all input files (needed so QtCreator lists all project files properly).if it has some inter-library dependencies, add a corresponding _CORRADE_$ variables that correspond to given plugin interface.mention the new lib in the list of components in the docs.

cmake set variable superset list of files

CMAKE SET VARIABLE SUPERSET LIST OF FILES UPDATE

Update FindCorrade.cmake (or similar in other repos):.the list in doc/building.dox (and similar files in other repos).root CMakeLists.txt (if it has some inter-library dependencies, update the others / convert them to cmake_dependent_option (), adding NOT CORRADE_WITH_LIBRARYNAME to their condition - note the conditions are ANDed so they need to be specified in reverse).Add a CORRADE_WITH_LIBRARYNAME CMake option to:.Checklist for adding / removing a library

cmake set variable superset list of files

If you are contributing a pull-request, you can use these checklists as a guide and save the maintainers a bit of work - but you are not strictly required to follow them to the point. This guide is meant mainly for core Corrade developers to avoid forgetting about things.

  • Checklist for creating/updating a single-header lib.
  • Checklist for adding / removing a CPU instruction set.
  • Checklist for adding or removing a port.
  • Checklist for adding, removing or updating a dependency.
  • cmake set variable superset list of files

    Checklist for adding a new CMake documentation page.Checklist for adding / removing a symbol.Checklist for adding / removing a new source / header file.Checklist for adding / removing an example.Checklist for adding / removing a plugin interface.Checklist for adding / removing a plugin.Checklist for adding / removing a library.Checklists for developing new things in Corrade itself.











    Cmake set variable superset list of files