-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add convenient gen_code soft link + update docs
- Loading branch information
1 parent
15c3894
commit f672d7c
Showing
3 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
# Instructions for TA-Lib maintainers | ||
**You do not need to do any of this if you are only a TA-Lib user.** | ||
|
||
# How to generate "./configure" script | ||
Dependencies to install: | ||
- automake | ||
- libtool | ||
- autogen | ||
Development is done on Ubuntu, but the library can still be used on any Linux distribution, Windows and macOS. | ||
|
||
On ubuntu, just do the following: | ||
```sudo apt install automake libtool autogen``` | ||
## How to generate "./configure" script | ||
Install dependencies: | ||
```$ sudo apt install automake libtool autogen``` | ||
|
||
... then execute: | ||
Create/update all the "Makefile" related files: | ||
```$ autoreconf -i``` | ||
|
||
## How to build gen_code | ||
Install dependencies: | ||
```$ sudo apt install mcpp``` | ||
|
||
Build everything (includes gen_code): | ||
``` | ||
$ mkdir -p m4 | ||
$ autoreconf -i | ||
$ cd ta-lib | ||
$ ./configure | ||
$ make | ||
``` | ||
|
||
# How to generate the .tar.gz | ||
Must be in a specific directory to run it: | ||
``` | ||
$ cd ta-lib/bin | ||
$ ./gen_code | ||
``` | ||
$ ./configure | ||
$ make dist | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../src/tools/gen_code/gen_code |