1 Star 0 Fork 3

吉林伊凡/openplc-core

forked from coonix/openplc-core 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
ATmega8 提交于 2020-06-04 13:34 . add coonix hardware layer
cmake_minimum_required(VERSION 3.0.0)
project(openplc)
option(WERROR "Set all warnings to errors" OFF)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -pthread")
execute_process(COMMAND ./iec2c.sh)
# Optional build capabilities
include_directories(lib/C)
include_directories(./)
# The main application that we always build
add_executable(openplc dnp3.cpp
enip.cpp
glueVars.cpp
interactive_server.cpp
main.cpp
modbus.cpp
modbus_master.cpp
pccc.cpp
persistent_storage.cpp
server.cpp
hardware_layers/coonix.cpp
Config0.o
Res0.o)
target_link_libraries(openplc rt)
target_link_libraries(openplc asiodnp3)
target_link_libraries(openplc openpal)
target_link_libraries(openplc opendnp3)
target_link_libraries(openplc asiopal)
target_link_libraries(openplc modbus)
install(TARGETS openplc DESTINATION bin)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wanyi3605/openplc-core.git
git@gitee.com:wanyi3605/openplc-core.git
wanyi3605
openplc-core
openplc-core
master

搜索帮助