2015-09-30 02:09 PM - last edited on 2023-07-13 03:21 PM by Doreena Deng
2015-09-30 04:20 PM
2015-10-08 12:43 PM
2015-10-12 02:08 PM
stefan wrote:Both devkits have add-ins for their respective development environments, and those set up skeleton add-ons.
Thank you for sharing. I can also suggest to start from the smallest Devkit example: Geometry_Test
It would be nice to have a blank add-in which also compiles on OSX.
2015-10-12 02:10 PM
Gill wrote:That depends on how you register your menu. The original is correct if you pass MenuCode_UserDef to your ACAPI_Register_Menu function.
Hi,
I've noticed that in the BlankAddOn the .grc file isn't entirely correct.
The info on the status bar should be:
'STR#' 32501 "Status bar strings" {
/* [ ] */ "Blank"
/* [ 1] */ "Do Nothing"
}
Instead of:
'STR#' 32520 "Status bar strings" {
/* [ ] */ "Blank"
}
2015-10-12 03:17 PM
Akos 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.stefan wrote:Both devkits have add-ins for their respective development environments, and those set up skeleton add-ons.
Thank you for sharing. I can also suggest to start from the smallest Devkit example: Geometry_Test
It would be nice to have a blank add-in which also compiles on OSX.
Best, Akos
2015-10-14 01:48 PM
stefan wrote:You can see the setup we use in the Examples. Each add-on has the following folders (empty ones are usually omitted):
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.