Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Blank Add On for AC19 / DevKit19

$
0
0
Author:Akos Somorjai
Posted: Wed Oct 14, 2015 12:48 pm (GMT+1)


stefan wrote:

What is the recommended approach for developing Win + Mac add-ons? Preferably, we would have a single Add-in source folder, with Visual Studio & Xcode project files and with a single set of CPP/H files. Then it could be used in e.g. git or other source control systems to be shared among team members.

Alas, I've had not much luck on OSX with the add-on template and usually stick to copying an example project and renaming things over there.

I was even thinking of setting up a cmake or qmake script to generate two projects from a single source. This could make it more flexible in integrating it into your environments.


You can see the setup we use in the Examples. Each add-on has the following folders (empty ones are usually omitted):

RFIX -- non-localisable resources
RFIX.mac -- non-localisable resources for OSX
RFIX.win -- non-localisable resources for Windows
RINT -- localisable resources
RINT.mac -- localisable resources for OSX
RINT.win -- localisable resources for Windows
Src -- source and header files (may contain subfolders); on its top level we usually keep the platform independent sources, platform specific stuff goes into subfolders

We keep external libraries and sources in a separate MakeAdds folder somewhere in a central location.

You may also add a Make.mac and a Make.win folder for the project files.

Please share with us if you manage to set up any cmake files; I'd be interested Smile

Best, Akos


Viewing all articles
Browse latest Browse all 564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>