diff options
author | John Glover <j@johnglover.net> | 2012-09-11 12:21:29 +0200 |
---|---|---|
committer | John Glover <j@johnglover.net> | 2012-09-11 12:21:29 +0200 |
commit | a2ce39b9c79cf5e3b63fba45fd314f44704cd3df (patch) | |
tree | 3da6b25981cf092d7ecf7c0fb9978c8d0d057bd7 /CMakeLists.txt | |
parent | db3bf85c9d043fc52176ef7a432fece900215c8a (diff) | |
download | simpl-a2ce39b9c79cf5e3b63fba45fd314f44704cd3df.tar.gz simpl-a2ce39b9c79cf5e3b63fba45fd314f44704cd3df.tar.bz2 simpl-a2ce39b9c79cf5e3b63fba45fd314f44704cd3df.zip |
[cmake] glob for simpl source and includes.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
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) |