Page 1 of 1

Is it possible to use Codelite info to make DEB packae

Posted: Thu Mar 08, 2018 11:55 pm
by coder99
After building an app, I would like to be able to package it so that I can move it all to another machine for testing, short of installing Codelite & wxWidgets etc on the second machine.

All the information I have read on creating a DEB package, or even a gedbi package seems like it will take as much effort to package it as it did to write it :-)
Consequently, I was hoping that somehow some of the dependencies information within CL could be used to ease the effort to package it.
TIA

Re: Is it possible to use Codelite info to make DEB packae

Posted: Sat Mar 10, 2018 7:03 pm
by eranif
I myself is using CMake to package it for me (NOT the packages that goes into the repository, but rather the .deb files that I release for weekly builds)
CMake comes with a tool called CPack. It can package for you in the format of deb, rpm or even Windows / Mac installers.

You can have a look at CodeLite's CMake file to see how I package. Once the the makefile are generated, all that needs to be done is to run "make package"
https://cmake.org/Wiki/CMake:Packaging_With_CPack

CodeLite's main CMakeLists.txt file (search for CPack):

https://github.com/eranif/codelite/blob ... eLists.txt

Re: Is it possible to use Codelite info to make DEB packae

Posted: Tue Mar 13, 2018 8:58 pm
by coder99
Thank you, Eran
I am now in the process of getting to know CMake - seems it will take some time :(