mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Edited/removed comments, changes readme
Edited/removed comments, changes readme
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
cmake_minimum_required (VERSION 2.8)
|
cmake_minimum_required (VERSION 2.8)
|
||||||
cmake_policy(VERSION 2.8)
|
cmake_policy(VERSION 2.8)
|
||||||
# cmake_policy(SET CMP0037 OLD)
|
|
||||||
|
|
||||||
project (LearnOpenGL)
|
project (LearnOpenGL)
|
||||||
|
|
||||||
@@ -18,9 +17,6 @@ link_directories(${CMAKE_SOURCE_DIR}/lib)
|
|||||||
|
|
||||||
list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
|
list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
|
||||||
|
|
||||||
# ADD_CUSTOM_TARGET(debug ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE:STRING=Debug ${PROJECT_SOURCE_DIR})
|
|
||||||
# ADD_CUSTOM_TARGET(release ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE:STRING=Release ${PROJECT_SOURCE_DIR})
|
|
||||||
|
|
||||||
# find the required packages
|
# find the required packages
|
||||||
find_package(GLM REQUIRED)
|
find_package(GLM REQUIRED)
|
||||||
message(STATUS "GLM included at ${GLM_INCLUDE_DIR}")
|
message(STATUS "GLM included at ${GLM_INCLUDE_DIR}")
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# learnopengl.com code repository
|
# learnopengl.com code repository
|
||||||
Contains code samples for all tutorials of [http://learnopengl.com](http://learnopengl.com).
|
Contains code samples for all tutorials of [http://learnopengl.com](http://learnopengl.com).
|
||||||
|
|
||||||
The CMakeLists.txt is not yet finished for Linux/OS X; for more info see http://learnopengl.com/#!Code-repository
|
The CMakeLists.txt is not yet tested/finished for OS X; for more info see http://learnopengl.com/#!Code-repository
|
||||||
|
|
||||||
## Windows building
|
## Windows building
|
||||||
All relevant libraries are found in /libs and all DLLs found in /dlls (pre-)compiled for Windows.
|
All relevant libraries are found in /libs and all DLLs found in /dlls (pre-)compiled for Windows.
|
||||||
|
|||||||
Reference in New Issue
Block a user