Downloads
Wiki
Build CodeLite
Devs
|
Main /
ProjectSettingsUnderOSXAssuming that you've already created a new workspace and added a project to it, there are a few project settings to set in order to properly build, run and debug applications under OS X. The Automatic WayApplications on OS X are bundles. Codelite ships with a plugin that turns your application into a bundle and sets all the required project settings accordingly. Once created a new project, right-click on the project and select 'Make this project output a bundle' Attach:MakeProjectBundleMenu.png A dialog will show up with the targets to turn into bundles, an Info.plist data, and the app icon. Attach:MakeProjectBundleDialog.png Your app should now be a valid OS X bundle. Note 1:
If you complied wxWidgets with the
Note 2: If you change Project Settings > General > Output File (which, by the way, can only involve a relative path) you'd want to also change Project Settings > Customize > Custom Makefile Rules The Manual WayEither click the appropriate button in the Workspace View toolbar, or right-click over the project's name in the Workspace View and, from the context menu, select Settings.... The 'Project Settings' dialog will appear. At the top of the dialog you'll see the Configuration Type combobox, which will normally contain Debug or Release. To the right of that is a button that takes you to the Configuration Manager, where you can edit these choices and add others. GeneralOutput FileWhen creating Mac application with WX widgets, you need to make it a bundle application. This simply means that the actual executable needs to reside in a folder hierarchy with specific names. An output file Note: make sure that your bundle name and executable have the same name, as in: ' Command
Every time you press Run in CodeLite, a new terminal window will open. Working DirectoryYou can set this to an absolute path, but setting it to CompilerCompiler OptionsFor debug builds of wxWidgets application use:
For release builds:
PreprocessorIf you are building wxWidgets application, enter LinkerFor debug builds of wxWidgets:
For release builds:
DebuggerOn the field 'Enter here any commands that should be passed to the debugger on startup', you should enter |