Skip to content

jackutea/cray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

raylib project template

Env

  1. vscode & gcc & cmake & vcpkg
  2. vcpkg install raylib:x64-windows
  3. install vscode CMake extension

Configure

  1. according to /.vscode txts to configure .json
  2. according to CMakelists_sample.txt to create CMakelists.txt
  3. manual build once
>> cd build
>> cmake .. 
vscode: ctrl + shift + p, cmake configure

Build & Run

  1. build every times
vscode: ctrl + shift + p, cmake build
  1. run
vscode: F5

FAQ

  1. Q:路径有非法字符
  • A:cmake --build d:/cray/build 应改为 cmake --build d:\cray\build