Premake 生成 Makefile 的缺省配置
来源:互联网 发布:阿里云工商数据查询 编辑:程序博客网 时间:2024/05/17 08:22
Premake 生成 Makefile 的缺省配置
(金庆的专栏 2017.7)
premake5.exe --os=linux gmake
生成的 Makefile 中有个 config, 用 make 生成release版本时使用以下命令:
make config=release_x64
在premake5.lua中可以如下设置,使config缺省为 release_x64:
workspace "AppWorkspace"
configurations { "Release", "Debug" }
platforms { "x64", "x32" }
...
即缺省配置为 configurations 和 platforms 的首个选项。
生成的 Makefile 中会如下初始化 config:
ifndef config
config=release_x64
endif
这样 make 就会缺省生成 release_x64。
(金庆的专栏 2017.7)
premake5.exe --os=linux gmake
生成的 Makefile 中有个 config, 用 make 生成release版本时使用以下命令:
make config=release_x64
在premake5.lua中可以如下设置,使config缺省为 release_x64:
workspace "AppWorkspace"
configurations { "Release", "Debug" }
platforms { "x64", "x32" }
...
即缺省配置为 configurations 和 platforms 的首个选项。
生成的 Makefile 中会如下初始化 config:
ifndef config
config=release_x64
endif
这样 make 就会缺省生成 release_x64。
阅读全文
0 0
- Premake 生成 Makefile 的缺省配置
- 跨平台MakeFile生成的软件--PreMake
- premake基本配置详解
- Premake可生成vcxproj.filters
- premake
- premake构造工具- 使用premake工具生成工程文件
- haproxy 配置缺省的webserver
- ALSA(二), makefile, Autotools, premake
- premake Ubuntu下的安装
- makefile的自动生成
- 生成.so的makefile
- 关于Makefile的生成
- 关于Makefile的生成
- OSPF 中生成缺省路由的注意点
- 【Lua C交互】1 - Premake 生成编译工程
- Weblogic8缺省应用配置(缺省访问地址)
- 如何查看ASE的非缺省配置参数
- 实验四:静态路由、缺省路由的配置
- Tag File文件的理解
- sqoop java.lang.NullPointerException 和 No columns to generate for ClassWriter
- ClobToString
- phoenix全局索引和本地索引测试,和hive连接
- mysql经纬度 某半径长度 内查询数据
- Premake 生成 Makefile 的缺省配置
- ios 蓝牙对战实现
- 1046: 奇数的乘积
- 从MySql读取中文数据输出乱码问题
- Yii2调用存程例子
- Sping 顾问代理增强
- AES加密配置
- Tensorflow与Python之细枝末节
- Spring AOP