Skip to content

Commit

Permalink
CMake refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterkatze committed Nov 20, 2023
1 parent 4fe8751 commit 861c6dd
Show file tree
Hide file tree
Showing 54 changed files with 7,065 additions and 6,924 deletions.
289 changes: 100 additions & 189 deletions CMakeLists.txt

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions Externals/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
add_subdirectory(LuaJIT-proj)
if (XRAY_USE_LUAJIT)
add_subdirectory(LuaJIT-proj)
else()
find_package(Lua51 REQUIRED)
endif()

add_subdirectory(xrLuaFix)
add_subdirectory(luabind)

if (USE_CXIMAGE)
add_subdirectory(cximage)
endif()

add_subdirectory(GameSpy)
add_subdirectory(OPCODE)
add_subdirectory(ode)
#add_subdirectory(NVTT)
add_subdirectory(NVTT)
add_subdirectory(imgui-proj)

if (NOT TARGET xrLuabind)
message(FATAL_ERROR
"You probably have downloaded OpenXRay sources as ZIP archive, you can't do that. Use git to clone the repository.\n"
"Read the build instructions: https://github.com/OpenXRay/xray-16/wiki"
)
endif()
2 changes: 1 addition & 1 deletion Externals/GameSpy
Submodule GameSpy updated 1 files
+175 −176 src/GameSpy/CMakeLists.txt
Loading

0 comments on commit 861c6dd

Please sign in to comment.