Author Topic: Redistribute code. how to compile?  (Read 3132 times)

Offline broli

  • Single posting newcomer
  • *
  • Posts: 3
Redistribute code. how to compile?
« on: October 12, 2009, 10:49:44 pm »
I have searched and found lots of post asking for a autoconf/make sort of magic from code blocks to easy the distribution

found some plugins, but none seems to work

Im not expert programmer, so, if code blocks cannot provide me with means of creating all the necesary "things", i will need to learn from scratch how to doit myself

which automated build system works "best" with codeblcoks? or which one should i avoid? dont want to use an external tool that might interfere with the IDE's ability to debug and compile using its internal system

thanks

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Redistribute code. how to compile?
« Reply #1 on: October 13, 2009, 02:17:37 am »
I have no idea which of the following you are asking please answer which is closest.

1. Which build system to use for an open source project
   For this I suggest
   
  • Code::Blocks project
  • CMake
  • preMake

2. How to distribute the Binary code
    Look at the software installers like below and many others
   
  • NSIS (Nullsoft Scriptable Install System)
  • Inno Setup


Tim S.


C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline broli

  • Single posting newcomer
  • *
  • Posts: 3
Re: Redistribute code. how to compile?
« Reply #2 on: October 13, 2009, 02:53:09 am »
sorry, i forgot to specify

im on linux, programing c+gtk, and all i want is a tar.gz wich contains the source code, and "some way" to compile such code.

i will then distribute the code, and people will need to compile it in their pcs

as far as i understand, if i redistribute a binary buult in my pc, it might not work in other pc,

im gona google into cmake and premake and see what i come up with

thanks for the reply