You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build script reads the config.json file for required build parameters:
30
30
31
31
-`addOnName`: name of the Add-On.
32
+
-`description`: description of the Add-On.
32
33
-`defaultLanguage`: a single language for which the Add-On is built when localization is not enabled. Must be one of the languages specified in `languages`.
33
34
-`languages`: list of languages, for which localization can be done / for which the .grc files are present in their respective directories.
34
-
-`version`: version of the Add-On. Must have 1, 2 or 3 numeric components (`123`, `1.23` or `1.2.3` respectively).
35
+
-`version`: version of the Add-On. Must have 1, 2 or 3 numeric components (`123`, `1.23` or `1.2.3` respectively) all of which must be in the `0-65535` range.
35
36
-`copyright`: an object with fields `name` and `year`. These will be used to embed a copyright notice in the Add-On.
36
37
-`additionalCMakeParams` (optional): a list of additional Add-On specific CMake parameters as JSON key-value pairs. The build script will forward it to CMake.
37
38
@@ -62,16 +63,16 @@ git submodule update --remote
62
63
63
64
### Fill in metadata in `config.json`
64
65
65
-
This template contains an invalid `version` field in the config file described in [Config file](#config-file).
66
-
This will need to be replaced after the repository has been cloned.
66
+
The version number `0.0.0` (or `0.0` or `0` according to the rules above) is recognized as a placeholder and using it will result in a warning.
67
+
This template contains a `version` value with this placeholder value that should be changed.
67
68
68
-
You may also want to change the `addOnName` and `copyright` values.
69
+
You may also want to change the `addOnName`, `description` and `copyright` values.
69
70
You may use the `%Y` placeholder in the `copyright.year` field to always refer to the current year.
70
71
71
72
### Build with downloaded Archicad API Development Kit
72
73
73
74
- Clone this repository as it's described in the previous section.
74
-
- Review and modify the config file as it's described in the previous section.
75
+
- Review and modify the config file as described in the previous section.
75
76
-[Download the Archicad Add-On Development Kit from here](https://archicadapi.graphisoft.com/downloads/api-development-kit) or from [here](https://github.com/GRAPHISOFT/archicad-api-devkit/releases).
76
77
- Generate the IDE project with CMake, and set the following variables (see example [below](#visual-studio-windows)):
77
78
-`AC_VERSION`: The version number of Archicad that the Add-On is built for.
0 commit comments