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
13 lines
340 B
CMake
Vendored
Generated
13 lines
340 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(../)
|
|
add_library(fmt format.cc)
|
|
|
|
if(BUILD_SHARED_LIBS)
|
|
target_compile_definitions(fmt PRIVATE FMT_EXPORT INTERFACE FMT_SHARED PUBLIC FMT_SHARED)
|
|
endif()
|