Code Monkey home page Code Monkey logo

games101-xmake's Introduction

GAMES101作业 xmake版本

理论上跨平台,只测试过 Windows,Linux/MAC 未测试

如果第三方库没有预编译版本,Xmake 会手动拉取依赖源码并行编译

快速开始

  1. 安装 C++ 编译工具链,如 MSVC/Clang/Mingw
  2. 安装 C++ 的 构建系统 + 包管理: Xmake
  3. 下载所有作业源码
git clone https://github.com/star-hengxing/GAMES101-xmake.git
  1. 进入作业目录测试,比如
cd src/Assignment1
xmake
xmake run

第一次使用会安装第三方库,根据命令行提示操作即可,如果下载包失败请看FQA

注意事项

  • 所有作业文档在 doc 目录
  • 所有模型在 models 目录
  • 每个作业运行环境都在自己作业目录下,有需要可以在 xmake.lua 里修改set_rundir的路径

FQA

Q: xmake下载包失败怎么办

A: 查看文档使用远程包 - xmake

Q: 编译失败怎么办

A: 执行xmake -v ,查看详细输出信息

Q: 我想用 vs 写代码怎么办

A: 执行xmake project -k vsxmake -m "debug,release" 生成vs工程文件

参考

  1. https://github.com/slicol/Games101-Homework-Win

games101-xmake's People

Contributors

star-hengxing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.