加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 2.94 KB
一键复制 编辑 原始数据 按行查看 历史
cmake_minimum_required(VERSION 3.0)
set(TargetName OCQuant)
project(${TargetName})
ADD_SUBDIRECTORY(Common)
ADD_SUBDIRECTORY(DB)
ADD_SUBDIRECTORY(CTP)
ADD_SUBDIRECTORY(Net)
ADD_SUBDIRECTORY(3rd)
ADD_SUBDIRECTORY(Log)
ADD_SUBDIRECTORY(Example)
ADD_SUBDIRECTORY(AMQP)
#ADD_SUBDIRECTORY(ServerFrame)
#分组
SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
#Common
SET_PROPERTY(TARGET FAAlgorithm PROPERTY FOLDER "Common")
SET_PROPERTY(TARGET FABarMaker PROPERTY FOLDER "Common")
SET_PROPERTY(TARGET FABase PROPERTY FOLDER "Common")
SET_PROPERTY(TARGET FAJson PROPERTY FOLDER "Common")
#SET_PROPERTY(TARGET FAPack PROPERTY FOLDER "Common")
SET_PROPERTY(TARGET FAPrint PROPERTY FOLDER "Common")
SET_PROPERTY(TARGET FATinyxml PROPERTY FOLDER "Common")
SET_PROPERTY(TARGET FAZip PROPERTY FOLDER "Common")
#DB
#SET_PROPERTY(TARGET FACSV2DB PROPERTY FOLDER "DB")
#SET_PROPERTY(TARGET FAMysql PROPERTY FOLDER "DB")
SET_PROPERTY(TARGET FARedis PROPERTY FOLDER "DB")
SET_PROPERTY(TARGET FASqlite PROPERTY FOLDER "DB")
SET_PROPERTY(TARGET FASqliteFormate PROPERTY FOLDER "DB")
#CTP
SET_PROPERTY(TARGET FACore PROPERTY FOLDER "CTP")
SET_PROPERTY(TARGET FAFlow PROPERTY FOLDER "CTP")
#SET_PROPERTY(TARGET FALimitOrderBook PROPERTY FOLDER "CTP")
SET_PROPERTY(TARGET FAMarket PROPERTY FOLDER "CTP")
SET_PROPERTY(TARGET FAOrderMonitor PROPERTY FOLDER "CTP")
#SET_PROPERTY(TARGET FAPython PROPERTY FOLDER "CTP")
SET_PROPERTY(TARGET FAQuote PROPERTY FOLDER "CTP")
SET_PROPERTY(TARGET FAStrategyCore PROPERTY FOLDER "CTP")
SET_PROPERTY(TARGET FAStrategyPlatform PROPERTY FOLDER "CTP")
SET_PROPERTY(TARGET FATrade PROPERTY FOLDER "CTP")
#Net
#SET_PROPERTY(TARGET FANet PROPERTY FOLDER "Net")
#SET_PROPERTY(TARGET FANetAsio PROPERTY FOLDER "Net")
SET_PROPERTY(TARGET FASockClient PROPERTY FOLDER "Net")
SET_PROPERTY(TARGET FASockServer PROPERTY FOLDER "Net")
#3rd
SET_PROPERTY(TARGET log4cplus PROPERTY FOLDER "3rd")
SET_PROPERTY(TARGET libuv PROPERTY FOLDER "3rd")
#AMQP
SET_PROPERTY(TARGET MQClient PROPERTY FOLDER "AMQP")
SET_PROPERTY(TARGET MQClientTiny PROPERTY FOLDER "AMQP")
#Log
#SET_PROPERTY(TARGET FALog PROPERTY FOLDER "Log")
SET_PROPERTY(TARGET FALog4cplus PROPERTY FOLDER "Log")
#ServerFrame
#SET_PROPERTY(TARGET QuoteSvr PROPERTY FOLDER "ServerFrame")
#SET_PROPERTY(TARGET KBarSvr PROPERTY FOLDER "ServerFrame")
#SET_PROPERTY(TARGET TradeSvr PROPERTY FOLDER "ServerFrame")
#SET_PROPERTY(TARGET StrategyPlus1 PROPERTY FOLDER "ServerFrame")
#Example
SET_PROPERTY(TARGET DemoArbitrageA PROPERTY FOLDER "Example")
SET_PROPERTY(TARGET DemoDBClient PROPERTY FOLDER "Example")
#SET_PROPERTY(TARGET DemoNet PROPERTY FOLDER "Example")
SET_PROPERTY(TARGET DemoStrategyPlusA PROPERTY FOLDER "Example")
#SET_PROPERTY(TARGET DemoPythonQuote2CTP PROPERTY FOLDER "Example")
SET_PROPERTY(TARGET DemoTushare PROPERTY FOLDER "Example")
SET_PROPERTY(TARGET StrategyArbitrageA PROPERTY FOLDER "Example")
SET_PROPERTY(TARGET StrategyPlusA PROPERTY FOLDER "Example")
#SET_PROPERTY(TARGET StrategyPlusB PROPERTY FOLDER "Example")
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化