Skip to content

Commit

Permalink
1.4.2pl: clean repo
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Apr 7, 2020
1 parent fafbc58 commit 7afedb3
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 1,442 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bin
obj
*.o
lossywav
liblossywav.*
File renamed without changes.
File renamed without changes.
93 changes: 2 additions & 91 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,105 +19,16 @@ defined.

**Tested platforms**: GNU/Linux, OSX, FreeBSD, NetBSD, OpenBSD(needs latest eg++).

# How to Build and Install

## Mac OSX

Homebrew users can install lossywav with a simple command:

brew install --HEAD https://raw.githubusercontent.com/MoSal/lossywav-for-posix/master/lossywav.rb
# How to Build

## General

Building lossywav should be as simple as:

```
./waf configure [OPTIONS]
./waf build [OPTIONS]
./waf install [OPTIONS]
```

A typical example would be:
```
./waf configure --prefix=/usr --enable-fftw3
./waf build
# As root
./waf install --destdir=/
```

**Note:** If there is no `python` in `PATH`. You can invoke `waf` with whatever python
executable you have. Both *Python 2* and *Python 3* are supported. For example:

python2.7 waf configure

---

The output of `./waf -h` including all OPTIONS:

```
waf [commands] [options]
Main commands (example: ./waf build -j4)
build : executes the build
clean : cleans the project
configure: configures the project
dist : makes a tarball for redistributing the sources
distcheck: checks if the project compiles (tarball from 'dist')
distclean: removes the build directory
install : installs the targets on the system
list : lists the targets to execute
step : executes tasks in a step-by-step fashion, for debugging
uninstall: removes the targets installed
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-c COLORS, --color=COLORS
whether to use colors (yes/no/auto) [default: auto]
-j JOBS, --jobs=JOBS amount of parallel jobs (2)
-k, --keep continue despite errors (-kk to try harder)
-v, --verbose verbosity level -v -vv or -vvv [default: 0]
--zones=ZONES debugging zones (task_gen, deps, tasks, etc)
Configuration options:
-o OUT, --out=OUT build dir for the project
-t TOP, --top=TOP src dir for the project
--prefix=PREFIX installation prefix [default: '/usr/local/']
--bindir=BINDIR bindir
--libdir=LIBDIR libdir
--check-cxx-compiler=CHECK_CXX_COMPILER
list of C++ compilers to try [g++ clang++ icpc]
--enable-compiler-warnings
Enable compiler warnings. (default: False)
--werror Consider warnings fatal. (default: False)
--disable-compile-optimizations
Don't check/set compile optimization flags. (default: False)
--disable-link-optimizations
Don't check/set link optimization flags. (default: False)
--disable-lto Don't check/set lto flags. (default: False)
--enable-debug Set debug flags. (default: False)
--enable-fftw3 Compile and link against libfftw3. (default: False)
--fftw3-cxxflags=FFTW3_CXXFLAGS
Skip pkg-config and set fftw3 cxxflags explicitly (default: None)
--fftw3-libs=FFTW3_LIBS
Skip pkg-config and set fftw3 libs explicitly (default: None)
Build and installation options:
-p, --progress -p: progress bar; -pp: ide output
--targets=TARGETS task generators, e.g. "target1,target2"
Step options:
--files=FILES files to process, by regexp, e.g. "*/main.c,*/test/main.o"
Installation and uninstallation options:
--destdir=DESTDIR installation root [default: '']
-f, --force force file installation
--distcheck-args=ARGS
arguments to pass to distcheck
make
```

A simple `Makefile.unix` is also available as a last resort alternative.

# Credits
* All lossyWAV authors and contributors.
* HydrogenAudio community.
142 changes: 0 additions & 142 deletions lossyWAV.cbp

This file was deleted.

Loading

0 comments on commit 7afedb3

Please sign in to comment.