Switch to cmake

This commit is contained in:
Mike Walters
2015-08-22 09:55:04 +01:00
parent a74b2e0366
commit 72ab099f40
3 changed files with 10 additions and 16 deletions

4
.gitignore vendored
View File

@@ -1,6 +1,2 @@
# Build outputs
build/
inspectrum
Makefile
moc_*
*.o

View File

@@ -7,12 +7,18 @@ inspectrum is a tool for analysing captured signals, primarily from software-def
Currently very early and rough, but usable.
## Try it
### Prerequisites
* qt5
* cmake
* fftw
### Building on Debian-based distros
sudo apt-get install qt5-default
git clone https://github.com/miek/inspectrum.git
cd inspectrum
qmake
sudo apt-get install qt5-default cmake libfftw3-dev
mkdir build
cd build
cmake ..
make

View File

@@ -1,8 +0,0 @@
CONFIG += c++11
QT += widgets
TARGET = inspectrum
TEMPLATE = app
LIBS += -lfftw3f
HEADERS += mainwindow.h fft.h inputsource.h spectrogram.h spectrogramcontrols.h
SOURCES += main.cpp fft.cpp mainwindow.cpp inputsource.cpp spectrogram.cpp spectrogramcontrols.cpp