PTC MKS Toolkit Menu

PTC MKS Toolkit Knowledge Base

Product:MKS Toolkit (TKPDev/TKEDev)
Keywords:porting, migration, common source code

Can I maintain common code for both UNIX and Windows versions of my program?

Yes, 95% of PTC MKS Toolkit customers maintain a single source baseline for both Windows and UNIX, and the fact that the average customer modifies far less than 0.1% of the application code makes maintaining a single source base easy. Furthermore, you can often maintain the same build environment, using the same makefiles to build your application. PTC has one customer with over seven million lines of source code who maintains a single source baseline.

Moreover, if you want to evolve your application to take advantage of Windows features such as WinHelp or the registry, the changes to your code using PTC MKS Toolkit are straightforward and easy to conditionally compile, using standard PTC MKS Toolkit #defines.