Compile-Run Cycle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

  I'm new to autotools and currently I'm using C++ with autotools
and vim. I was wondering how you usually run the programs.
My current workflow is the following:

My folder structure:

| project_home
| - configure.ac
| - Makefile.am
| - configure
| - build/
| - sandbox/
| - src/
  | - Makefile.am
  | - source1.c++
  | - source2.c++

  I use two terminals, one is running vim from inside the
src dir. The other one has a variable PREFIX=$project_root/sandbox,
and I use it to compile and run the program, which is usually the
follow command sequence:

Once in a while:
% ./configure --prefix="$PREFIX"

And then every modification:
% make
% make install
% "$PREFIX/bin/project_name"

  Is there any way to automate this? How people usually do it?


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux