Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 
Ray b6ae380260 REVIEWED: Examples comments, consistent code sections 1 månad sedan
..
CMakeLists.txt cmake: replace custom variable with built-in one 5 månader sedan
README.md Projects: Fix CMake example project (#4332) 1 år sedan
core_basic_window.c REVIEWED: Examples comments, consistent code sections 1 månad sedan

README.md

raylib CMake Project

This provides a base project template which builds with CMake.

Usage

To compile the example, use one of the following dependending on your build target...

Desktop

Use the following to build for desktop:

cmake -B build
cmake --build build

Web

Compiling for the web requires the Emscripten SDK:

mkdir build
cd build
emcmake cmake .. -DPLATFORM=Web -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXECUTABLE_SUFFIX=".html"
emmake make