Move Trace Analyzer to open source tree
Move the code for the Trace Analyzer to the open source tree and only keep the extensions behind a compiler flag.
This commit is contained in:
@@ -91,10 +91,11 @@ set(DRAMSYS_EXTENSIONS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/extensions")
|
||||
### Build options ###
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
|
||||
|
||||
option(DRAMSYS_VERBOSE_CMAKE_OUTPUT "Show detailed CMake output" OFF)
|
||||
option(DRAMSYS_BUILD_TESTS "Build DRAMSys unit tests" OFF)
|
||||
option(DRAMSYS_BUILD_BENCHMARKS "Build DRAMSys benchmarks" OFF)
|
||||
option(DRAMSYS_VERBOSE_CMAKE_OUTPUT "Show detailed CMake output" OFF)
|
||||
option(DRAMSYS_BUILD_CLI "Build DRAMSys Command Line Tool" ON)
|
||||
option(DRAMSYS_BUILD_TRACE_ANALYZER "Build DRAMSys Trace Analyzer" OFF)
|
||||
option(DRAMSYS_WITH_DRAMPOWER "Build with DRAMPower support enabled." OFF)
|
||||
option(DRAMSYS_ENABLE_EXTENSIONS "Enable proprietary DRAMSys extensions." OFF)
|
||||
option(DRAMSYS_USE_EXTERNAL_SYSTEMC "Use an external SystemC installation." OFF)
|
||||
@@ -184,6 +185,10 @@ if(DRAMSYS_BUILD_CLI)
|
||||
add_subdirectory(src/simulator)
|
||||
endif()
|
||||
|
||||
if(DRAMSYS_BUILD_TRACE_ANALYZER)
|
||||
add_subdirectory(src/traceAnalyzer)
|
||||
endif()
|
||||
|
||||
if(DRAMSYS_ENABLE_EXTENSIONS)
|
||||
dramsys_enable_extensions()
|
||||
endif()
|
||||
@@ -202,6 +207,6 @@ endif()
|
||||
### Benchmark Directory ###
|
||||
###############################################
|
||||
|
||||
if(DRAMSYS_BUILD_BENCHMARKS)
|
||||
if(DRAMSYS_BUILD_BENCHMARKS)
|
||||
add_subdirectory(benches)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user