2024-01-05 08:08 AM - last edited on 2024-09-16 02:44 PM by Doreena Deng
Hi,
I've recently started learning API. I stuck at the very beginning with the use of template.
In VS I see two problems:
- There is no CMakeCommon.cmake file in my Tools folder.
- Unknown CMake command "SetGlobalCompilerDefinitions".
What's wrong?
Thanks
2024-01-08 11:12 AM - edited 2024-01-08 11:13 AM
Hi!
Are you using the following template? https://github.com/GRAPHISOFT/archicad-addon-cmake
If so, then I think you are missing this submodule: https://github.com/GRAPHISOFT/archicad-addon-cmake-tools
You should clone the template (first link) as described in the readme with
git clone https://github.com/GRAPHISOFT/archicad-addon-cmake.git --recurse-submodules
and also follow the other steps described in the readme.
Hope that helps!
Bernd