Default: TARGET_NAME.īasis_add_doc ( "User Manual.pdf" OUTPUT_NAME "BASIS User Manual.pdf")īasis_add_doc (DeveloperManual.docx COMPONENT dev)īasis_add_doc (SourceManual.html COMPONENT src) The documentation files are installed in/as INSTALL_DOC_DIR/TARGET_NAME as part of the component specified by the COMPONENT option. Defaults to INSTALL_DOC_DIR or INSTALL_DOC_DIR/ in case of the Doxygen generator, where is the TARGET_NAME in lowercase only.
Cmake add executable generator#
The None generator simply installs the document with the filename TARGET_NAME and has no own options. The parameters for the different supported generators are documented below. Defaults to BASIS_LIBRARY_COMPONENT for documentation generated from in-source comments and BASIS_RUNTIME_COMPONENT, otherwise.ĭocumentation generator, where the case of the generator name is ignored, i.e., Doxygen, DOXYGEN, doxYgen are all valid arguments which select the Doxygen generator. Name of the component this documentation belongs to. Name of the documentation target or file. A component as part of which this documentation shall be installed can be specified.
Cmake add executable pdf#
Other documentation files such as HTML, Word, or PDF documents can be added as well using this function. This function is especially used to add a custom target to the "doc" target which is used to generate documentation from input files such as in particular source code files. The variables, functions, and macros listed here are intended to be used by the developer of a software development project based on BASIS in their project specific CMake implementation and the CMakeLists.txt files. Remove previously added compile definitions.īasis_set_script_path (in VAR, in PATH, in ARGV3)īasis_target_link_libraries (in TARGET_NAME, in ARGN) Implementation of root CMakeLists.txt file of BASIS project.
Cmake add executable install#
Install content of source directory excluding typical files.Īdd installation rule to create a symbolic link.Īdd directories to search path for libraries.ĭefines project meta-data, i.e., attributes. Get path relative to a given base directory.īasis_get_target_property (in VAR, in TARGET_NAME, in ARGN)īasis_get_test_property (in VAR, in TEST_NAME, in ARGN)Īdd directories to search path for include files. Include this module instead of CTest.ĭefinition of functions and macros used by BASIS project.īasis_add_component (in COMPNAME, in ARGN)īasis_add_component_group (in GRPNAME, in ARGN)īasis_add_executable (in TARGET_NAME, in ARGN)īasis_add_library (in TARGET_NAME, in ARGN)īasis_add_test_driver (in TESTDRIVER_NAME, in ARGN)Ĭonfigure installation-time downloads of selected components.įind external software package or other project module.Īlias for the overwritten get_filename_component() function.īasis_get_property (in VAR, in SCOPE, in ELEMENT, in ARGN)īasis_get_relative_path (in REL, in BASE, in PATH)
Include this module instead of CPack.ĬTest configuration.