1 Star 0 Fork 21

ccc1/Effect-Designer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
liaozhilong1 提交于 2019-12-27 00:34 . [提交工程代码]
#-------------------------------------------------------
# Copyright (c) ED
# All rights reserved.
# History:
# <Author> <Time> <Version> <Des>
# lzlong 2019-1-10 1.0
#-------------------------------------------------------
cmake_minimum_required(VERSION 2.8)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# 工程名
PROJECT(ED)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
set(PROJDIR ${CMAKE_CURRENT_SOURCE_DIR})
set(EXECUTABLE_OUTPUT_PATH ${ED_BINARY_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${ED_BINARY_DIR}/bin)
set(LIBS ${LIBRARY_OUTPUT_PATH};${ED_SOURCE_DIR}/3rdParty/lib)
LINK_DIRECTORIES(${LIBS})
OPTION(USE_DMDLL_ "Compile DmMain as dll" ON)
if(USE_DMDLL_)
ADD_DEFINITIONS(-DDLL_DMMAIN)
endif()
OPTION(USE_DMLOG_ "DM open log" ON)
if(USE_DMLOG_)
ADD_DEFINITIONS(-DDMLOG_ON)
endif()
# 是否使用Skia引擎
OPTION(USE_DMSKIA_ "DM user skia render draw" OFF)
LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/Tools/CMake)
INCLUDE(PrecompiledHeader)
ADD_SUBDIRECTORY(${PROJDIR}/3rdParty/json)
ADD_SUBDIRECTORY(${PROJDIR}/3rdParty/zlib)
ADD_SUBDIRECTORY(${PROJDIR}/Modules/DMMain)
#ADD_SUBDIRECTORY(${PROJDIR}/Modules/HttpReq)
#add_subdirectory(${PROJDIR}/Modules/EDCore)
ADD_SUBDIRECTORY(${PROJDIR}/Modules/EDBase)
ADD_SUBDIRECTORY(${PROJDIR}/EDesigner)
if(USE_DMSKIA_)
ADD_SUBDIRECTORY(${PROJDIR}/3rdParty/skia)
endif()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/zhupf/Effect-Designer.git
[email protected]:zhupf/Effect-Designer.git
zhupf
Effect-Designer
Effect-Designer
master

搜索帮助