channels: refactoring of channels cmake scripts with macros

This commit is contained in:
Marc-André Moreau
2012-10-17 02:14:19 -04:00
parent c82ad752b9
commit 81e485736f
48 changed files with 253 additions and 245 deletions

View File

@@ -15,9 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
set(CHANNEL_NAME "audin")
set(MODULE_NAME "${CHANNEL_NAME}-server")
string(TOUPPER "CHANNEL_${CHANNEL_NAME}_SERVER" MODULE_PREFIX)
define_channel_server("audin")
set(${MODULE_PREFIX}_SRCS
audin.c)