Initial skeleton of the code.

master
Pedro Alvarez 7 years ago
parent 5c0e2ee32e
commit b561dfa087

@ -24,7 +24,11 @@
* *
*/ */
#include "srslte/common/log.h" /******************************************************************************
* File: mme.h
* Description: Top-level MME class. Creates and links all
* interfaces and helpers.
*****************************************************************************/
#ifndef MME_H #ifndef MME_H
#define MME_H #define MME_H
@ -33,8 +37,14 @@ namespace srsepc{
class mme class mme
{ {
private:
static mme *instance;
mme();
virtual ~mme();
}; };
} // namespace srsepc } // namespace srsepc
#endif // MME_H #endif // MME_H

@ -13,10 +13,7 @@ endif (RPATH)
add_executable(srsepc main.cc ) add_executable(srsepc main.cc )
target_link_libraries(srsepc srsenb_upper target_link_libraries(srsepc srsepc_mme
srslte_common
srslte_phy
srslte_upper
${CMAKE_THREAD_LIBS_INIT} ${CMAKE_THREAD_LIBS_INIT}
${Boost_LIBRARIES} ${Boost_LIBRARIES}
${SEC_LIBRARIES} ${SEC_LIBRARIES}
@ -32,11 +29,11 @@ install(TARGETS srsepc DESTINATION ${RUNTIME_DIR})
######################################################################## ########################################################################
# Option to run command after build (useful for remote builds) # Option to run command after build (useful for remote builds)
######################################################################## ########################################################################
if (NOT ${BUILDENB_CMD} STREQUAL "") if (NOT ${BUILDEPC_CMD} STREQUAL "")
message(STATUS "Added custom post-build-ENB command: ${BUILDENB_CMD}") message(STATUS "Added custom post-build-EPC command: ${BUILDENB_CMD}")
add_custom_command(TARGET srsenb POST_BUILD COMMAND ${BUILDENB_CMD}) add_custom_command(TARGET srsenb POST_BUILD COMMAND ${BUILDENB_CMD})
else(NOT ${BUILDENB_CMD} STREQUAL "") else(NOT ${BUILDEPC_CMD} STREQUAL "")
message(STATUS "No post-build-ENB command defined") message(STATUS "No post-build-EPC command defined")
endif (NOT ${BUILDENB_CMD} STREQUAL "") endif (NOT ${BUILDEPC_CMD} STREQUAL "")
install(TARGETS srsepc DESTINATION ${RUNTIME_DIR}) install(TARGETS srsepc DESTINATION ${RUNTIME_DIR})

@ -1,4 +1,4 @@
#include "mme.h" #include "mme/mme.h"
int int
main (int argc,char * argv[] ) main (int argc,char * argv[] )

@ -25,9 +25,12 @@
*/ */
#include "mme.h" #include "mme/mme.h"
class srsmme namespace srsepc{
mme::mme()
{ {
int tst; }
};
} //namespace srsepc

Loading…
Cancel
Save