1 Star 0 Fork 3

Ahddub/gdbus-p2p-demo

forked from RTplay/gdbus-p2p-demo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
Ren Zhong 提交于 2020-12-11 13:49 . 1
cmake_minimum_required (VERSION 2.8.1)
project(gdbus-demo)
set(CMAKE_VERBOSE_MAKEFILE off)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O0 -Wall")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -Wall -Wunused-but-set-variable")
#######################################################################################
# this var must be define by designer,a lot of cmakeVar will be define by this var #
#######################################################################################
#set(APP_NAME "gdbus-demo1")
#set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
add_subdirectory(gdbus)
add_subdirectory(client)
add_subdirectory(server)
add_subdirectory(example)
##################### config CPack #############################################
set(CPACK_GENERATOR "TGZ")
set(CPACK_RPM_PACKAGE_DESCRIPTION_SUMMARY "install gdbus-demo")
set(CPACK_RPM_PACKAGE_VENDOR "vesoft")
set(CPACK_RPM_PACKAGE_NAME "gdbus-demo")
set(CPACK_RPM_PACKAGE_VERSION_MAJOR "0")
set(CPACK_RPM_PACKAGE_VERSION_MINOR "1")
set(CPACK_RPM_PACKAGE_VERSION_PATCH "0")
#set(CPACK_SET_DESTDIR true)
#set(CPACK_INSTALL_PREFIX "/usr")
include(CPack)
install(FILES includes/libClient.h
DESTINATION usr/include/gdbus-demo/
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/ahddub/gdbus-p2p-demo.git
git@gitee.com:ahddub/gdbus-p2p-demo.git
ahddub
gdbus-p2p-demo
gdbus-p2p-demo
master

搜索帮助