Skip to content

Commit

Permalink
Linux - Minor fixes on non code files
Browse files Browse the repository at this point in the history
  • Loading branch information
MadDeCoDeR committed Jan 12, 2025
1 parent 4048139 commit 1dc1d9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions base/DoomBFA.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#! /bin/bash
export LD_LIBRARY_PATH=.
./DoomBFA $*
5 changes: 3 additions & 2 deletions neo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
#set(CMAKE_C_FLAGS_DEBUGALL "${CMAKE_C_FLAGS_DEBUGALL} -g -ggdb -D_DEBUG -fno-strict-aliasing ${my_warn_flags}")
#set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_PROFILE} -g -ggdb -D_DEBUG -O1 -fno-omit-frame-pointer -fno-strict-aliasing ${my_warn_flags}")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -DNDEBUG -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fno-strict-aliasing ${my_warn_flags}")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -g -rdynamic -O3 -DID_RETAIL -DALLOW_DEV -D_GLDEBUG -DNDEBUG -DXR_DEBUG -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fno-strict-aliasing -Werror -Wno-error=invalid-pch -Wno-error=invalid-offsetof -Wno-error=address ${my_warn_flags}")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -g -rdynamic -O3 -DID_RETAIL -DALLOW_DEV -D_GLDEBUG -DNDEBUG -DXR_DEBUG -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fno-strict-aliasing -Werror -Wno-error=invalid-pch -Wno-error=invalid-offsetof ${my_warn_flags}")
#set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -Os -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fno-strict-aliasing ${my_warn_flags}")
set(CMAKE_C_FLAGS_RETAIL "${CMAKE_C_FLAGS_RETAIL} -s -O3 -DID_RETAIL -DNDEBUG -ffast-math -fno-strict-aliasing -Werror -Wno-error=invalid-pch -Wno-error=invalid-offsetof -Wno-error=address ${my_warn_flags}" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS_RETAIL "${CMAKE_C_FLAGS_RETAIL} -s -O3 -DID_RETAIL -DNDEBUG -ffast-math -fno-strict-aliasing -Werror -Wno-error=invalid-pch -Wno-error=invalid-offsetof ${my_warn_flags}" CACHE STRING "" FORCE)



Expand Down Expand Up @@ -2070,6 +2070,7 @@ else()
if (USE_OPENXR)
target_compile_options(openxr_loader PRIVATE "-Wno-error")
target_compile_options(XrApiLayer_api_dump PRIVATE "-Wno-error")
target_compile_options(XrApiLayer_core_validation PRIVATE "-Wno-error")
target_compile_options(openxr-gfxwrapper PRIVATE "-Wno-error")
target_link_libraries(DoomBFA openxr-gfxwrapper openxr_loader)
endif()
Expand Down

0 comments on commit 1dc1d9f

Please sign in to comment.