Clean up and refactor CMakeLists
This commit is contained in:
@@ -105,6 +105,8 @@ target_link_libraries(${PROJECT_NAME}
|
||||
SQLite::SQLite3
|
||||
)
|
||||
|
||||
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
|
||||
|
||||
if (DRAMSYS_WITH_DRAMPOWER)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC DRAMPower)
|
||||
target_compile_definitions(${PROJECT_NAME} PUBLIC DRAMPOWER)
|
||||
|
||||
@@ -40,6 +40,8 @@
|
||||
|
||||
project(DRAMSys_Simulator)
|
||||
|
||||
find_package(Threads)
|
||||
|
||||
add_library(${PROJECT_NAME}
|
||||
simulator/Cache.cpp
|
||||
simulator/EccModule.cpp
|
||||
|
||||
Reference in New Issue
Block a user