[hydra-commits] hydra/media_format_ulaw.git branch "master" created.

Commits to the Hydra project code repositories hydra-commits at lists.digium.com
Fri Jul 30 07:32:41 CDT 2010


branch "master" has been created
        at  4c6a1a4073cdad51eaa1f7a9ea0f4b44cfbb5b56 (commit)

- Log -----------------------------------------------------------------
commit 4c6a1a4073cdad51eaa1f7a9ea0f4b44cfbb5b56
Author: Joshua Colp <jcolp at digium.com>
Date:   Fri Jul 30 09:33:26 2010 -0300

    Add basis for ulaw media format component.

diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..0f6d7db
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "cmake"]
+	path = cmake
+	url = git at git.asterisk.org:hydra/cmake
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..9080617
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,16 @@
+# ULAW Media Format component build system
+
+# Minimum we require is 2.6, any lower and stuff would fail horribly
+cmake_minimum_required(VERSION 2.6)
+
+# Include common Hydra build infrastructure
+include(cmake/Hydra_v4.cmake)
+
+# This project is C++ based and requires a minimum of 3.4
+hydra_project(media_format_ulaw 3.4 CXX)
+
+# Take care of the source code for this project
+add_subdirectory(src)
+
+# Finally take care of the test suite
+add_subdirectory(test)
diff --git a/cmake b/cmake
new file mode 160000
index 0000000..8a93352
--- /dev/null
+++ b/cmake
@@ -0,0 +1 @@
+Subproject commit 8a9335238af711324d93ca91c799a37545647fa3
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..6c65e50
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,5 @@
+hydra_component_init(media_format_ulaw CXX)
+#hydra_component_add_slice(media_format_ulaw service_discovery)
+hydra_component_add_file(media_format_ulaw MediaFormatULAW.cpp)
+hydra_component_build_standalone(media_format_ulaw)
+hydra_component_install(media_format_ulaw RUNTIME bin "Media Format ULAW." Media)
diff --git a/src/MediaFormatULAW.cpp b/src/MediaFormatULAW.cpp
new file mode 100644
index 0000000..e69de29
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
new file mode 100644
index 0000000..031146b
--- /dev/null
+++ b/test/CMakeLists.txt
@@ -0,0 +1,5 @@
+hydra_component_init(media_format_ulaw_test CXX)
+hydra_component_add_file(media_format_ulaw_test TestMediaFormatULAW.cpp)
+hydra_component_add_boost_libraries(media_format_ulaw_test unit_test_framework)
+hydra_component_build_standalone(media_format_ulaw_test)
+hydra_component_install(media_format_ulaw_test RUNTIME bin "Media Format ULAW Test Driver." Core)
diff --git a/test/TestMediaFormatULAW.cpp b/test/TestMediaFormatULAW.cpp
new file mode 100644
index 0000000..e69de29

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


-- 
hydra/media_format_ulaw.git




More information about the asterisk-scf-commits mailing list