代码拉取完成,页面将自动刷新
同步操作将从 Hic/popnet_modified 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#新的编译脚本
#https://blog.csdn.net/liitdar/article/details/81144461
cmake_minimum_required(VERSION 3.0)
project(popnet)
set(CMAKE_CXX_STANDARD 17)
#set(CMAKE_BUILD_TYPE DEBUG)
set(CMAKE_BUILD_TYPE RELEASE)
set(POWER_RELEASE orion_power_beta_mar2003)
set(GRAPH_LIB graph_lib)
add_subdirectory(${POWER_RELEASE}/power)
add_subdirectory(${GRAPH_LIB})
set(CMAKE_CXX_FLAGS "-DS_OUT_DEBUG -Wno-deprecated -g -DPOWER_TEST")
include_directories(${POWER_RELEASE}/power ${POWER_RELEASE}/library)
include_directories(${GRAPH_LIB})
set(SIM_SRCS SString.cc SStd.cc SRGen.cc configuration.cc flit.cc sim_router.cc sim_routing.cc sim_vcarb.cc mess_event.cc sim_foundation.cc mess_queue.cc main.cc)
aux_source_directory(changes NEW_SRCS)
link_directories(${POWER_RELEASE}/power)
find_package(Boost REQUIRED COMPONENTS
graph
)
include_directories(${Boost_INCLUDE_DIRS})
add_executable(popnet ${SIM_SRCS} ${NEW_SRCS})
target_link_libraries(popnet orion_power mygraph)
target_link_libraries(popnet ${Boost_LIBRARIES})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。