projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16508e
)
Add CMake buildfile.
author
Berkus
<berkus@gmail.com>
Mon, 3 Feb 2014 00:16:34 +0000
(
02:16
+0200)
committer
Berkus
<berkus@gmail.com>
Mon, 3 Feb 2014 00:16:34 +0000
(
02:16
+0200)
CMakeLists.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/CMakeLists.txt
b/CMakeLists.txt
new file mode 100644
(file)
index 0000000..
4b645a5
--- /dev/null
+++ b/
CMakeLists.txt
@@ -0,0
+1,17
@@
+if (WIN32)
+ include_directories(include/)
+ add_definitions(-D__WINDOWS_DS__)
+ #-D__WINDOWS_ASIO__
+endif (WIN32)
+
+if (UNIX AND NOT APPLE)
+ add_definitions(-D__LINUX_PULSE__)
+endif (UNIX AND NOT APPLE)
+
+if (APPLE)
+ add_definitions(-D__MACOSX_CORE__)
+endif (APPLE)
+
+set(rtaudio_SOURCES RtAudio.cpp)
+
+add_library(rtaudio STATIC ${rtaudio_SOURCES})