From 300a5e3f6e5e845b4b8d093222e1c51ca4640f79 Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Tue, 17 Apr 2018 19:33:23 -0700 Subject: mpm: initial commit of E320 code Co-authored-by: Sugandha Gupta --- mpm/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mpm/CMakeLists.txt') diff --git a/mpm/CMakeLists.txt b/mpm/CMakeLists.txt index 6ae8e5204..9fc24b98b 100644 --- a/mpm/CMakeLists.txt +++ b/mpm/CMakeLists.txt @@ -132,7 +132,7 @@ if(_has_no_psabi) MESSAGE(STATUS "Disabling psABI warnings.") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-psabi") endif(_has_no_psabi) -SET(MPM_ALL_DEVICES n3xx tests) +SET(MPM_ALL_DEVICES n3xx e320 tests) SET(MPM_DEVICE "n3xx" CACHE STRING "Choose an MPM device to build") SET_PROPERTY(CACHE MPM_DEVICE PROPERTY STRINGS ${MPM_ALL_DEVICES}) # Validate MPM_DEVICE @@ -146,11 +146,14 @@ endif() IF(MPM_DEVICE STREQUAL "n3xx") SET(ENABLE_MYKONOS ON) SET(ENABLE_MAGNESIUM ON) +ELSEIF(MPM_DEVICE STREQUAL "e320") + SET(ENABLE_E320 ON) ENDIF() MPM_REGISTER_COMPONENT("LibMPM" ENABLE_LIBMPM ON "Boost_FOUND" OFF ON) MPM_REGISTER_COMPONENT("Mykonos" ENABLE_MYKONOS ON "ENABLE_LIBMPM" OFF OFF) MPM_REGISTER_COMPONENT("Magnesium" ENABLE_MAGNESIUM ON "ENABLE_MYKONOS" OFF OFF) +MPM_REGISTER_COMPONENT("E320" ENABLE_E320 ON "ENABLE_LIBMPM" OFF OFF) ADD_SUBDIRECTORY(include) INCLUDE_DIRECTORIES( -- cgit v1.2.3