Generate¶
-
rcf_dependencies
(targetids)¶ This function allows to add one or more targets to the current active target.
Parameters: - targetids – A List of target IDs which should be added to the current target.
-
rcf_generate
(whattargetidtargetnamefoldergroup[files])¶ Generate a target with the specified parameter.
Parameters: - what – Defines the target type e.g. shared.
- targetid – Defines the identifier which will be used in cmake.
- targetname – Defines the user readable name.
- foldergroup – Defines the logical location of the target e.g. “3rd Party” will be add the target in a Visual Studio folder with this name.
- files – You can add a list of files which will be part of the target.
-
rcf_endgenerate
([targetids])¶ Finalize the last generated target if no targetid was passed else all targets will be closed in the order they are passed.
Parameters: - targetids – A list of target IDs which should be closed in order.