How can I convert a Makefile-based project into a CodeLite project?
These steps will allow you to use an existing source files with an existing Makefile
within CodeLite:
New Project
wizard, Expand the Others
entry and select Custom Makefile
and complete the wizard. As a good practice, make sure you place the project location in the root folder of your source files.Import files from directory
and select the directories you want to import.Now, you will need to update the Build
options (so when hitting F7
or right clicking on the project and selecting build
your Makefile is called)
Settings
Customize->Custom Build
Enable custom build
is ON (should be if you selected the Custom Makefile
template from above)Build
, Clean
etc or add new ones)Once the build is all setup, you will need to make sure that you can Run
/ Debug
your binaries:
Settings
General
tabExecution
section, make sure that the Executable to Run / Debug
is pointing to your binaryIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With