I have been developing a program using CodeLite under windows.
https://sourceforge.net/projects/openclsolarsyst/
The code uses wxWidgets and while I was writing it I made it as cross platform as I could.
Now I am creating a linux version (well Debian and maybe red hat).
It compiles can runs fine under ubuntu using Codelite.
I now need to package it.
What is the best way of creating deb and rpm packages under Codelite?
The simplest I can think of is to have a post build command copy files into a fake root and then use a binary package maker to make the package file.
Or should I switch to cmake and set up codelite to call it as an external make file?
I also have a .net/mono command line utility that goes with the program. That needs to be packaged as well.
It likewise runs fine on windows and ubuntu.
Creating deb and rpm packages
-
- CodeLite Curious
- Posts: 5
- Joined: Fri Nov 16, 2012 7:43 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating deb and rpm packages
This is how I do it under Linux to package. I use CMake for this purpose, so the makefile could be used also to create packagesmoozoo wrote:Or should I switch to cmake and set up codelite to call it as an external make file?
by simply running:
Code: Select all
make package
https://github.com/eranif/codelite/blob ... eLists.txt
(search for CPack)
Eran
Make sure you have read the HOW TO POST thread