Changeset 304:ad3c46016584 in freeDiameter for extensions/CMakeLists.txt
- Timestamp:
- May 14, 2010, 5:26:53 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CMakeLists.txt
r283 r304 20 20 MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent") 21 21 Endif ( NOT GCRYPT_INCLUDE_DIR ) 22 MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR) 22 23 INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR}) 23 24 … … 77 78 # Debug & test extensions 78 79 79 OPTION(BUILD_SAMPLE "Build sample.fdx? (Simple extension to demonstrate extension mechanism, for developpers only)" OFF)80 IF (BUILD_SAMPLE)81 SUBDIRS(_sample)82 ENDIF (BUILD_SAMPLE)83 84 80 OPTION(BUILD_DBG_MONITOR "Build dbg_monitor.fdx? (display periodical debug information on the console)" OFF) 85 81 IF (BUILD_DBG_MONITOR) … … 92 88 ENDIF (BUILD_DBG_RT) 93 89 94 OPTION(BUILD_TEST_ACCT "Build test_acct.fdx? (Receive Accounting-Requests and display the data, but no storage)" OFF)95 IF (BUILD_TEST_ACCT)96 SUBDIRS(test_acct)97 ENDIF (BUILD_TEST_ACCT)98 99 90 OPTION(BUILD_TEST_APP "Build test_app.fdx? (Testing application to send dummy message to another peer, for testing purpose only)" OFF) 100 91 IF (BUILD_TEST_APP) … … 102 93 ENDIF (BUILD_TEST_APP) 103 94 104 OPTION(BUILD_TEST_RT_ANY "Build test_rt_any.fdx? (Routing extension randomly sending message to any peer available, for testing purpose only)" OFF) 105 IF (BUILD_TEST_RT_ANY) 106 SUBDIRS(test_rt_any) 107 ENDIF (BUILD_TEST_RT_ANY) 95 # The following extension have very little use except for specific tests, so we disable them except in Debug configurations. 96 IF (CMAKE_BUILD_TYPE MATCHES "Debug") 97 OPTION(BUILD_SAMPLE "Build sample.fdx? (Simple extension to demonstrate extension mechanism, for developpers only)" OFF) 98 IF (BUILD_SAMPLE) 99 SUBDIRS(_sample) 100 ENDIF (BUILD_SAMPLE) 101 102 OPTION(BUILD_TEST_ACCT "Build test_acct.fdx? (Receive Accounting-Requests and display the data, but no storage)" OFF) 103 IF (BUILD_TEST_ACCT) 104 SUBDIRS(test_acct) 105 ENDIF (BUILD_TEST_ACCT) 106 107 OPTION(BUILD_TEST_RT_ANY "Build test_rt_any.fdx? (Routing extension randomly sending message to any peer available, for testing purpose only)" OFF) 108 IF (BUILD_TEST_RT_ANY) 109 SUBDIRS(test_rt_any) 110 ENDIF (BUILD_TEST_RT_ANY) 111 ENDIF (CMAKE_BUILD_TYPE MATCHES "Debug") 112
Note: See TracChangeset
for help on using the changeset viewer.