mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
8fefd298fd
* git: ignore vs build dir * cmake: ditch `clang-cl` on windows in favor of actual `clang` * build: suppress a significant number of warnings * build: adjust workflows and vendor nasm * docs: update docs to remove `clang-cl` mentions * build: fix some copy-paste mistakes in the linux build * build: remove C++20 compat warnings as that is useful if we want to upgrade
11 lines
284 B
CMake
Vendored
Generated
11 lines
284 B
CMake
Vendored
Generated
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
set(CMAKE_CXX_FLAGS "-O3")
|
|
elseif(MSVC)
|
|
set(CMAKE_CXX_FLAGS "/EHsc")
|
|
endif()
|
|
|
|
include_directories(../ ../stb_image)
|
|
add_library(tiny_gltf tiny_gltf.cpp)
|
|
target_link_libraries(tiny_gltf stb_image)
|
|
|