summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-09-11 12:21:29 +0200
committerJohn Glover <j@johnglover.net>2012-09-11 12:21:29 +0200
commita2ce39b9c79cf5e3b63fba45fd314f44704cd3df (patch)
tree3da6b25981cf092d7ecf7c0fb9978c8d0d057bd7
parentdb3bf85c9d043fc52176ef7a432fece900215c8a (diff)
downloadsimpl-a2ce39b9c79cf5e3b63fba45fd314f44704cd3df.tar.gz
simpl-a2ce39b9c79cf5e3b63fba45fd314f44704cd3df.tar.bz2
simpl-a2ce39b9c79cf5e3b63fba45fd314f44704cd3df.zip
[cmake] glob for simpl source and includes.
-rw-r--r--CMakeLists.txt17
1 files changed, 3 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4869e52..97767ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,27 +1,16 @@
cmake_minimum_required(VERSION 2.6)
project(simpl)
-set(source_files src/simpl/base.cpp
- src/simpl/peak_detection.cpp
- src/simpl/partial_tracking.cpp
- src/simpl/synthesis.cpp
- src/simpl/residual.cpp
-)
+FILE(GLOB simpl_src src/simpl/*.cpp)
FILE(GLOB sms_src src/sms/*.c)
FILE(GLOB sndobj_src src/sndobj/*.cpp)
FILE(GLOB loris_src src/loris/*.C)
-LIST(APPEND source_files ${source_files}
+LIST(APPEND source_files ${simpl_src}
${sndobj_src}
${sms_src}
${loris_src})
-set(simpl_include src/simpl/simpl.h
- src/simpl/base.h
- src/simpl/peak_detection.h
- src/simpl/partial_tracking.h
- src/simpl/synthesis.h
- src/simpl/residual.h
-)
+FILE(GLOB simpl_include src/simpl/*.h)
set(sms_include src/sms/sms.h)
FILE(GLOB sndobj_include src/sndobj/*.h)
FILE(GLOB loris_include src/loris/*.h)