Changing CMakeLists to compile EPC

master
Pedro Alvarez 7 years ago
parent d3aa79427c
commit 3e5e244440

@ -60,6 +60,7 @@ set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
######################################################################## ########################################################################
option(ENABLE_SRSUE "Build srsUE application" ON) option(ENABLE_SRSUE "Build srsUE application" ON)
option(ENABLE_SRSENB "Build srsENB application" ON) option(ENABLE_SRSENB "Build srsENB application" ON)
option(ENABLE_SRSEPC "Build srsEPC application" ON)
option(ENABLE_VOLK "Enable use of VOLK SIMD library" ON) option(ENABLE_VOLK "Enable use of VOLK SIMD library" ON)
option(ENABLE_GUI "Enable GUI (using srsGUI)" ON) option(ENABLE_GUI "Enable GUI (using srsGUI)" ON)
@ -155,7 +156,7 @@ else(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND)
endif(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND) endif(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND)
# Boost # Boost
if(ENABLE_SRSUE OR ENABLE_SRSENB) if(ENABLE_SRSUE OR ENABLE_SRSENB OR ENABLE_SRSEPC)
if(BUILD_STATIC) if(BUILD_STATIC)
set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_STATIC_LIBS ON)
endif(BUILD_STATIC) endif(BUILD_STATIC)
@ -177,7 +178,7 @@ if(ENABLE_SRSUE OR ENABLE_SRSENB)
"1.65.0" "1.65" "1.66.0" "1.66" "1.67.0" "1.67" "1.68.0" "1.68" "1.69.0" "1.69" "1.65.0" "1.65" "1.66.0" "1.66" "1.67.0" "1.67" "1.68.0" "1.68" "1.69.0" "1.69"
) )
find_package(Boost "1.35" COMPONENTS ${BOOST_REQUIRED_COMPONENTS}) find_package(Boost "1.35" COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
endif(ENABLE_SRSUE OR ENABLE_SRSENB) endif(ENABLE_SRSUE OR ENABLE_SRSENB OR ENABLE_SRSEPC)
# srsGUI # srsGUI
if(ENABLE_GUI) if(ENABLE_GUI)
@ -371,3 +372,9 @@ if(RF_FOUND)
else(RF_FOUND) else(RF_FOUND)
message(STATUS "srsUE and srsENB builds disabled due to missing RF driver") message(STATUS "srsUE and srsENB builds disabled due to missing RF driver")
endif(RF_FOUND) endif(RF_FOUND)
if(ENABLE_SRSENB)
message(STATUS "Building with srsEPC")
add_subdirectory(srsepc)
else(ENABLE_SRSEPC)
message(STATUS "srsEPC build disabled")
endif(ENABLE_SRSUE)

@ -47,4 +47,4 @@ link_directories(
# Add subdirectories # Add subdirectories
######################################################################## ########################################################################
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(test) #add_subdirectory(test)

@ -0,0 +1,40 @@
/**
*
* \section COPYRIGHT
*
* Copyright 2013-2017 Software Radio Systems Limited
*
* \section LICENSE
*
* This file is part of srsLTE.
*
* srsLTE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* srsLTE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* A copy of the GNU Affero General Public License can be found in
* the LICENSE file in the top-level directory of this distribution
* and at http://www.gnu.org/licenses/.
*
*/
#include "srslte/common/log.h"
#ifndef MME_H
#define MME_H
namespace srsepc{
class mme
{
};
} // namespace srsepc
#endif // MME_H

@ -0,0 +1,33 @@
/**
*
* \section COPYRIGHT
*
* Copyright 2013-2017 Software Radio Systems Limited
*
* \section LICENSE
*
* This file is part of srsLTE.
*
* srsLTE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* srsLTE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* A copy of the GNU Affero General Public License can be found in
* the LICENSE file in the top-level directory of this distribution
* and at http://www.gnu.org/licenses/.
*
*/
#include "mme.h"
class srsmme
{
int tst;
};
Loading…
Cancel
Save