We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-03-16 05:32 PM - last edited on 2021-09-14 09:53 AM by Noemi Balogh
2021-03-16 06:09 PM
file (GLOB AllCFiles ${AddOnSourcesFolder}/*.c ) set_source_files_properties(${AllCFiles} PROPERTIES LANGUAGE CXX)
2021-03-16 06:23 PM
2021-03-16 09:05 PM
2021-03-17 12:00 PM
poco2013 wrote:Thank you for your idea! What would be your preferred choice for default installation location?
The new API package should not install the package in the programs folder anymore as default. This would eliminate the necessity of running VS in admin mode.
poco2013 wrote:This would work only if the DevKit would contain the cmake or the user installs manually the cmake and includes its location in the environment variable.
It would be of an advantage to also include a cmd exe file in each folder which would automatically execute the cmake
poco2013 wrote:I agree, it's not so easy to write CMake configuration files. I hope we will have time to make a blog post to explain our CMakeLists.txt file line by line. However I think an average user won't look inside the CMakeLists.txt, he/she will just execute CMake, because our CMakeLists.txt will be universally usable for any Add-On projects.
Also would like to see more blogs on how to alter cmakelist.txt to include other things from the examples. Cmake is very complicated and tries to be all things to all. One can easily get "lost" in the documentation. Color coding or commenting lines that can be changed and why, would be very helpful.
poco2013 wrote:If you are an Archicad25 Beta user, then you can post bugs or your issues into our system. If you've already done that, then we will work on it soon. I'm sure I will bump into it if it's related to Python API
On another note, but related: I have some very serious concerns regarding the Python APi. I would be interested in your comments in the Beta?
2021-10-14 11:21 AM
@Tibor Lorantfy wrote:
How about each Example in the API DevKit would contain one CMakeLists.txt file?
Do you agree that the Visual Studio (.vcxproj) and Xcode (.xcodeproj) IDE files are not necessary to be included anymore that way?
I think that's a good idea, shipping CMakeLists.txt files with each Example. That should also make the dev kits for Windows & MacOS platforms a bit more alike, (and probably make it easier to set up source files for building the addon on one platform using the file-set for the other platform)
Another advantage: It would help in building the examples by using other IDEs (like vscode) instead of Visual Studio.