Skip to content

Commit f3d8012

Browse files
author
vnavarro
committed
Setting up the development enviroment
1 parent aa93526 commit f3d8012

File tree

6 files changed

+53
-3
lines changed

6 files changed

+53
-3
lines changed

Makefile.am

Whitespace-only changes.

README.md

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,54 @@
1-
nesting-autotools
2-
=================
1+
This [autotools](http://www.gnu.org/savannah-checkouts/gnu/automake/manual/html_node/index.html) project shows how to use other existing autotools packages in a new autotools package.
32

4-
Nesting autotools packages
3+
## What is for?
4+
5+
To test my ability creating GNU/Linux redistributable packages.
6+
7+
# The requirements
8+
9+
1. Use log4cpp as the application logger
10+
2. Save 101 records in a sqlite database at the same time using 101 threads
11+
3. Do not use system libraries for log4cpp and sqlite3
12+
4. Once stored, print the records with the format
13+
<xml><inicio indice=numIndice>HolaMundo</inicio>,...</xml>
14+
5. Create an Autotools redistributable package
15+
6. Write a HOWTO
16+
17+
# Starting
18+
19+
Create the nesting-autotools repository at GitHub initialized with a README.md an clone it.
20+
21+
git clone https://github.com/vicnala/nesting-autotools.git
22+
cd nesting-autotools
23+
24+
[commit]()
25+
[tree]()
26+
27+
## Set-up the development environment
28+
29+
First install the necessary system tools. If you use Debian-like distributions:
30+
31+
sudo apt-get install build-essential
32+
sudo apt-get install automake autoconf libtool
33+
34+
Now, we need to edit 4 files to handle all the project needs. Run these commands to create the source tree:
35+
36+
mkdir src
37+
touch autogen.sh configure.ac Makefile.am
38+
touch src/Makefile.am src/main.cpp
39+
git add .
40+
git commit -a
41+
42+
to get this _project tree_:
43+
44+
nesting-autotools
45+
├── autogen.sh
46+
├── configure.ac
47+
├── Makefile.am
48+
├── README.md
49+
└── src
50+
├── main.cpp
51+
└── Makefile.am
52+
53+
[commit]()
54+
[tree]()

autogen.sh

Whitespace-only changes.

configure.ac

Whitespace-only changes.

src/Makefile.am

Whitespace-only changes.

src/main.cpp

Whitespace-only changes.

0 commit comments

Comments
 (0)