aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2015-12-26 02:54:16 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2015-12-26 02:54:16 +0300
commit2cbfd7920c72d5288eb3bf579a0fd85460bd735e (patch)
treef06e2076ca276b1f6c17904fb5f0e29c88dd9d24
parente738e9cc60d0a548ab1ed39920aefff06c899811 (diff)
downloadatracdenc-2cbfd7920c72d5288eb3bf579a0fd85460bd735e.tar.gz
CMakeLists.txt added
-rw-r--r--src/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..cc8f931
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,14 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
+
+add_definitions( "-O2 -g" )
+set(CMAKE_CXX_STANDARD 11)
+
+project(atracdenc)
+
+set(SOURCE_LIB mdct/vorbis_impl/mdct.c)
+set(SOURCE_EXE main.cpp wav.cpp aea.cpp transient_detector.cpp atracdenc.cpp bitstream/bitstream.cpp atrac/atrac1.cpp atrac/atrac1_dequantiser.cpp atrac/atrac1_scale.cpp atrac/atrac1_bitalloc.cpp)
+
+add_library(mdct_impl STATIC ${SOURCE_LIB})
+add_executable(atracdenc ${SOURCE_EXE})
+target_link_libraries(atracdenc mdct_impl)
+