IDE - how to release binaries

Hello,
I have my various programs that I compile which naturally have there
binaries in there respective x86 directory, is it possible then to release
them to a common directory.

For example I keep all the binarys in a directory called /ngl/bin but all
the source code is kept in the /ngl/src/ directory, is there an easy way
releasing the binaries to the /ngl/bin directory as well as still keeping
them in the testing fase in the /ngl/src directories until one is happy they
are working correctly ?

Obviously I can do this with a script but I was wondering if the IDE had
this type of functionality.

TIA, Brett.

Brett Wilton <bdwilton@xtra.co.nz> wrote:

I have my various programs that I compile which naturally have there
binaries in there respective x86 directory, is it possible then to release
them to a common directory.

In the common.mk for your various projects you can define
INSTALLDIR=/ngl/bin

Then a “make install” will copy it into there.

Obviously I can do this with a script but I was wondering if the IDE had
this type of functionality.

Well, that’s how you do it with the QNX makefile structure; not sure about
this IDE thing … ?

Correct explanation. IDE partially support this functionality. You can
create new build target manually in the Make View (open pull down menu for
the specific project and Add “install” target) and from the Project
Properties dialog you can specify target directory for your binaries.

Alex

“John Garvey” <jgarvey@qnx.com> wrote in message
news:bcavv8$mf8$1@nntp.qnx.com

Brett Wilton <> bdwilton@xtra.co.nz> > wrote:
I have my various programs that I compile which naturally have there
binaries in there respective x86 directory, is it possible then to
release
them to a common directory.

In the common.mk for your various projects you can define
INSTALLDIR=/ngl/bin

Then a “make install” will copy it into there.

Obviously I can do this with a script but I was wondering if the IDE had
this type of functionality.

Well, that’s how you do it with the QNX makefile structure; not sure about
this IDE thing … ?

I tried this a while back but the binaries always have the
c:\qnxsdk\target\qnx6\x86\ path
shoved infront of the target directory ?

I was hoping to have the target directory in a different directory from the
above ?

“Alex Chapiro” <achapiro@qnx.com> wrote in message
news:bccdii$m9g$1@inn.qnx.com

Correct explanation. IDE partially support this functionality. You can
create new build target manually in the Make View (open pull down menu for
the specific project and Add “install” target) and from the Project
Properties dialog you can specify target directory for your binaries.

Alex

“John Garvey” <> jgarvey@qnx.com> > wrote in message
news:bcavv8$mf8$> 1@nntp.qnx.com> …
Brett Wilton <> bdwilton@xtra.co.nz> > wrote:
I have my various programs that I compile which naturally have there
binaries in there respective x86 directory, is it possible then to
release
them to a common directory.

In the common.mk for your various projects you can define
INSTALLDIR=/ngl/bin

Then a “make install” will copy it into there.

Obviously I can do this with a script but I was wondering if the IDE
had
this type of functionality.

Well, that’s how you do it with the QNX makefile structure; not sure
about
this IDE thing … ?

Forgot to mention I did get this going by putting …/…/…/<desired_path> in
the Install directory.

It would be nice if you could just put the install directory in the “Install
directory” and not have c:\qnxsdk\target\qnx6\x86\ added to the install
path.


“Brett Wilton” <bdwilton@xtra.co.nz> wrote in message
news:bdr14t$469$1@inn.qnx.com

I tried this a while back but the binaries always have the
c:\qnxsdk\target\qnx6\x86\ path
shoved infront of the target directory ?

I was hoping to have the target directory in a different directory from
the
above ?

“Alex Chapiro” <> achapiro@qnx.com> > wrote in message
news:bccdii$m9g$> 1@inn.qnx.com> …
Correct explanation. IDE partially support this functionality. You can
create new build target manually in the Make View (open pull down menu
for
the specific project and Add “install” target) and from the Project
Properties dialog you can specify target directory for your binaries.

Alex

“John Garvey” <> jgarvey@qnx.com> > wrote in message
news:bcavv8$mf8$> 1@nntp.qnx.com> …
Brett Wilton <> bdwilton@xtra.co.nz> > wrote:
I have my various programs that I compile which naturally have there
binaries in there respective x86 directory, is it possible then to
release
them to a common directory.

In the common.mk for your various projects you can define
INSTALLDIR=/ngl/bin

Then a “make install” will copy it into there.

Obviously I can do this with a script but I was wondering if the IDE
had
this type of functionality.

Well, that’s how you do it with the QNX makefile structure; not sure
about
this IDE thing … ?
\