[asterisk-scf-commits] asterisk-scf/integration/matroska.git branch "matroska2_build_integration" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Nov 8 09:03:11 CST 2011


branch "matroska2_build_integration" has been created
        at  d39824a8f5d86e32eb37bf75b346e056bae60818 (commit)

- Log -----------------------------------------------------------------
commit d39824a8f5d86e32eb37bf75b346e056bae60818
Author: Brent Eagles <beagles at digium.com>
Date:   Tue Nov 8 11:32:47 2011 -0330

    Initial cmake files

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..a35c764
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,9 @@
+# Root CMakeLists.txt file for the C version of the corec, libebml2 and
+# libmatroska2 libraries.
+
+set(astscf-corec_dir ${CMAKE_CURRENT_SOURCE_DIR}/corec PARENT_SCOPE)
+set(astscf-ebml2_dir ${CMAKE_CURRENT_SOURCE_DIR}/libebml2 PARENT_SCOPE)
+set(astscf-matroska2_dir ${CMAKE_CURRENT_SOURCE_DIR}/libmatroska2 PARENT_SCOPE)
+add_subdirectory(corec)
+add_subdirectory(libebml2)
+add_subdirectory(libmatroska2)
diff --git a/corec/CMakeLists.txt b/corec/CMakeLists.txt
new file mode 100644
index 0000000..841bd7f
--- /dev/null
+++ b/corec/CMakeLists.txt
@@ -0,0 +1,83 @@
+#add_subdirectory(test)
+astscf_project(astscf-corec 0.0.1)
+
+include_directories(.)
+include_directories(..)
+include_directories(./tools/coremake)
+
+astscf_component_init(libcorec)
+  
+if(WIN32)
+astscf_component_add_files(libcorec 
+    corec/helpers/file/file_win32.c
+    corec/helpers/system/ccsystem_win32.c
+    corec/multithread/multithread_win32.c
+    corec/str/str_win32.c
+    )
+else()
+astscf_component_add_files(libcorec 
+    corec/helpers/file/file_libc.c
+    corec/helpers/system/ccsystem_posix.c
+    corec/multithread/multithread_pthread.c
+    corec/str/str_linux.c
+    )
+endif()
+
+astscf_component_add_files(libcorec 
+    corec/array/array.c
+    corec/array/array.h
+    corec/banned.h
+    corec/confhelper.h
+    corec/corec.h
+    corec/err.h
+    corec/helper.h
+    corec/helpers/charconvert/charconvert.h
+    corec/helpers/charconvert/charconvert_linux.c
+    corec/helpers/charconvert/charconvert_utf8.c
+    corec/helpers/charconvert/charconvert_win32.c
+    corec/helpers/date/date.h
+    corec/helpers/date/date_libc.c
+    corec/helpers/date/date_win32.c
+    corec/helpers/file/bufstream.c
+    corec/helpers/file/file.h
+    corec/helpers/file/memstream.c
+    corec/helpers/file/streams.c
+    corec/helpers/file/streams.h
+    corec/helpers/file/stream_stdio.c
+    corec/helpers/file/tools.c
+    corec/helpers/md5/md5.c
+    corec/helpers/md5/md5.h
+    corec/helpers/parser/buffer.c
+    corec/helpers/parser/buffer.h
+    corec/helpers/parser/dataheap.c
+    corec/helpers/parser/dataheap.h
+    corec/helpers/parser/hotkey.c
+    corec/helpers/parser/hotkey.h
+    corec/helpers/parser/nodelookup.c
+    corec/helpers/parser/nodelookup.h
+    corec/helpers/parser/parser2.c
+    corec/helpers/parser/parser.h
+    corec/helpers/parser/strtab.c
+    corec/helpers/parser/strtab.h
+    corec/helpers/parser/strtypes.c
+    corec/helpers/parser/strtypes.h
+    corec/helpers/parser/urlpart.c
+    corec/helpers/parser/urlpart.h
+    corec/helpers/system/ccsystem.h
+    corec/memalloc.h
+    corec/memheap.h
+    corec/multithread/multithread.h
+    corec/node/nodebase.h
+    corec/node/node.c
+    corec/node/node.h
+    corec/node/node_internal.h
+    corec/node/nodetools.h
+    corec/node/nodetree.c
+    corec/node/nodetree.h
+    corec/portab.h
+    corec/str/str.c
+    corec/str/str.h
+    corec/str/str_utf8.c
+    default_config.h
+)
+astscf_component_build_library(libcorec STATIC)
diff --git a/libebml2/CMakeLists.txt b/libebml2/CMakeLists.txt
new file mode 100644
index 0000000..5b84934
--- /dev/null
+++ b/libebml2/CMakeLists.txt
@@ -0,0 +1,41 @@
+astscf_project(astscf-ebml2 0.0.1)
+
+#add_subdirectory(test)
+astscf_component_init(libebml2)
+astscf_component_add_files(libebml2 
+    ebmlbinary.c
+    ebmlcrc.c
+    ebmlcrc.h
+    ebmldate.c
+    ebml/ebml.h
+    ebml/ebml_internal.h
+    ebmlelement.c
+    ebmlmain.c
+    ebmlmaster.c
+    ebmlnumber.c
+    ebmlstring.c
+    ebmlvoid.c
+    legacy/ebml/c/libebml_t.h
+    legacy/ebml/EbmlBinary.h
+    legacy/ebml/EbmlConfig.h
+    legacy/ebml/EbmlContexts.h
+    legacy/ebml/EbmlCrc32.h
+    legacy/ebml/EbmlDate.h
+    legacy/ebml/EbmlDummy.h
+    legacy/ebml/EbmlElement.h
+    legacy/ebml/EbmlFloat.h
+    legacy/ebml/EbmlHead.h
+    legacy/ebml/EbmlId.h
+    legacy/ebml/EbmlMaster.h
+    legacy/ebml/EbmlSInteger.h
+    legacy/ebml/EbmlStream.h
+    legacy/ebml/EbmlString.h
+    legacy/ebml/EbmlSubHead.h
+    legacy/ebml/EbmlTypes.h
+    legacy/ebml/EbmlUInteger.h
+    legacy/ebml/EbmlUnicodeString.h
+    legacy/ebml/EbmlVersion.h
+    legacy/ebml/EbmlVoid.h
+    legacy/ebml/IOCallback.h
+)
+astscf_component_build_library(libebml2 STATIC)
diff --git a/libmatroska2/CMakeLists.txt b/libmatroska2/CMakeLists.txt
new file mode 100644
index 0000000..5a634d2
--- /dev/null
+++ b/libmatroska2/CMakeLists.txt
@@ -0,0 +1,13 @@
+# TODO add_subdirectory(test)
+astscf_project(astscf-matroska2 0.0.1)
+
+astscf_component_init(libmatroska2)
+astscf_component_add_files(libmatroska2 
+    matroskamain.c
+    matroskablock.c
+    matroska_sem.c
+    ./matroska/matroska.h
+    ./matroska/matroska_sem.h
+    ./matroska/matroska_internal.h
+    )
+astscf_component_build_library(libmatroska2 STATIC)

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/matroska.git



More information about the asterisk-scf-commits mailing list