The minimum required cmake supports the updated way of building

master
lesleyrs 1 년 전
부모
커밋
3e82443534
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. +2
    -4
      Working-with-CMake.md

+ 2
- 4
Working-with-CMake.md

@ -19,11 +19,9 @@ if (APPLE)
target_link_libraries(${PROJECT_NAME} "-framework OpenGL")
endif()
```
To build, use these commands:
To generate build files in separate directory and build the project, use these commands:
```cmake
mkdir build # Create a build directory
cd build && cmake .. # Build from that directory so the build files are in one place
cmake --build . # Build the project
cmake -B build && cmake --build build
```
## Loading raylib inside cmake

불러오는 중...
취소
저장