I want to use macros to make my app compatible on both Linux and Windows.
First part is to automatically switch between Win32 and Gtk2 or Qt. On Windows because it defaults to Win32 I don't have to set it explicitly. Can the default be changed for each IDE, which I suppose is defined is stored in the --pcp configuration, or can it be set in a project or package macro? Second part is to set some file locations automatically, as the directories and library source locations will change. Because my custom libraries ppu output are stored in my --pcp folder I don't see a problem there, but I see one in the source file and other file locations. My idea is to use macros based on Env(EnvironmentVariables) present in my user account on both platforms, but it seems they are not stored in the lpi and lpk files. Am I worrying to much? Will having everything in packages especially my own utility libraries available on both platforms automatically resolve path issues? My main issue is I need to work from the same branch in the git repo, so setting incompatible switches in the IDE is not acceptable, they are both pushing and merging from the same git branch -- Frank Church ======================= http://devblog.brahmancreations.com
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
