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 "drdynvc")
set(MODULE_NAME ${CHANNEL_NAME})
string(TOUPPER "CHANNEL_${CHANNEL_NAME}" MODULE_PREFIX)
define_channel("drdynvc")
if(WITH_CLIENT_CHANNELS)
add_channel_client(${MODULE_PREFIX} ${CHANNEL_NAME})