Permalink
Browse files

cmake!

  • Loading branch information...
1 parent bfdafdf commit b13ba7350b0500dc2cac505f5341c941df283c3e @nova77 nova77 committed Dec 8, 2009
Showing with 8 additions and 23 deletions.
  1. +6 −0 CMakeLists.txt
  2. +0 −6 buildall.pro
  3. +2 −1 fplib/CMakeLists.txt
  4. +0 −16 fplib/fplib.pro
View
@@ -0,0 +1,6 @@
+PROJECT(lastfm_fplib)
+
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4.2)
+
+ADD_SUBDIRECTORY(fplib)
+ADD_SUBDIRECTORY(lastfmfpclient)
View
@@ -1,6 +0,0 @@
-TEMPLATE = subdirs
-
-# build as ordered or build will fail
-CONFIG = ordered
-
-SUBDIRS = fplib lastfmfpclient
View
@@ -2,7 +2,8 @@ PROJECT(fplib)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
-SET(CMAKE_VERBOSE_MAKEFILE ON)
+# uncomment if you wanna see some verbose action
+#SET(CMAKE_VERBOSE_MAKEFILE ON)
# binaries get installed here
SET(CMAKE_INSTALL_PREFIX "/usr/")
View
@@ -1,16 +0,0 @@
-TEMPLATE = lib
-CONFIG = warn_on staticlib
-HEADERS = include/FingerprintExtractor.h \
- src/CircularArray.h \
- src/Filter.h \
- src/FloatingAverage.h \
- src/fp_helper_fun.h \
- src/OptFFT.h
-
-SOURCES = src/FingerprintExtractor.cpp \
- src/Filter.cpp \
- src/OptFFT.cpp
-
-DEFINES += NDEBUG
-
-INCLUDEPATH = include src

0 comments on commit b13ba73

Please sign in to comment.