Last active
July 19, 2020 10:13
-
-
Save jseteny/cf07b8fd950d5010a8eef5bdf2b9b85d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Windows 10 raylib mingw CMakeLists.txt for building any raylib example from the link below | |
# https://www.raylib.com/examples.html | |
cmake_minimum_required(VERSION 3.16) | |
project(untitled C) | |
set(CMAKE_C_STANDARD 11) | |
set(CMAKE_LIBRARY_PATH "C:\\raylib\\mingw\\i686-w64-mingw32\\lib") | |
include_directories(C:\\raylib\\mingw\\i686-w64-mingw32\\include) | |
link_directories(${CMAKE_LIBRARY_PATH}) | |
add_executable(untitled main.c) | |
target_link_libraries(untitled raylib Winmm) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment