forked from mirrors/principia
Move in-tree libraries to lib/, move main codebase into root of src/
This commit is contained in:
parent
0101aeb9b1
commit
15bfab9e60
682 changed files with 43 additions and 101 deletions
6
.gitattributes
vendored
6
.gitattributes
vendored
|
|
@ -1,7 +1,3 @@
|
||||||
|
|
||||||
# Exclude vendored libraries from GitHub language detection
|
# Exclude vendored libraries from GitHub language detection
|
||||||
src/lua/* linguist-vendored
|
lib/* linguist-vendored
|
||||||
src/luasocket/* linguist-vendored
|
|
||||||
src/SDL_image/* linguist-vendored
|
|
||||||
src/SDL_mixer/* linguist-vendored
|
|
||||||
src/SDL-mobile/* linguist-vendored
|
|
||||||
|
|
|
||||||
6
.github/workflows/android.yml
vendored
6
.github/workflows/android.yml
vendored
|
|
@ -4,16 +4,18 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
|
- 'lib/**'
|
||||||
- 'android/**'
|
- 'android/**'
|
||||||
- 'data-*/**'
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/android.yml'
|
- '.github/workflows/android.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
|
- 'lib/**'
|
||||||
- 'android/**'
|
- 'android/**'
|
||||||
- 'data-*/**'
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/android.yml'
|
- '.github/workflows/android.yml'
|
||||||
|
|
|
||||||
6
.github/workflows/linux.yml
vendored
6
.github/workflows/linux.yml
vendored
|
|
@ -4,14 +4,16 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/linux.yml'
|
- '.github/workflows/linux.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/linux.yml'
|
- '.github/workflows/linux.yml'
|
||||||
|
|
|
||||||
6
.github/workflows/linux_ss.yml
vendored
6
.github/workflows/linux_ss.yml
vendored
|
|
@ -4,13 +4,15 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/linux_ss.yml'
|
- '.github/workflows/linux_ss.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/linux_ss.yml'
|
- '.github/workflows/linux_ss.yml'
|
||||||
|
|
||||||
|
|
|
||||||
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
|
@ -4,14 +4,16 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/macos.yml'
|
- '.github/workflows/macos.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/macos.yml'
|
- '.github/workflows/macos.yml'
|
||||||
|
|
|
||||||
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
|
|
@ -4,14 +4,16 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/windows.yml'
|
- '.github/workflows/windows.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'data-*/**'
|
- 'lib/**'
|
||||||
|
- 'data/**'
|
||||||
- 'packaging/**'
|
- 'packaging/**'
|
||||||
- 'CMakeLists.txt'
|
- 'CMakeLists.txt'
|
||||||
- '.github/workflows/windows.yml'
|
- '.github/workflows/windows.yml'
|
||||||
|
|
|
||||||
|
|
@ -89,12 +89,12 @@ endif()
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
|
lib/
|
||||||
|
lib/imgui/
|
||||||
|
lib/lua/
|
||||||
|
lib/SDL_image/
|
||||||
|
lib/SDL_mixer/
|
||||||
src/
|
src/
|
||||||
src/imgui/
|
|
||||||
src/lua/
|
|
||||||
src/SDL_image/
|
|
||||||
src/SDL_mixer/
|
|
||||||
src/src/
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR})
|
${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
file(GLOB SRCS
|
file(GLOB SRCS
|
||||||
|
|
@ -104,24 +104,24 @@ file(GLOB SRCS
|
||||||
src/tms/bindings/cpp/cpp.cc
|
src/tms/bindings/cpp/cpp.cc
|
||||||
src/tms/modules/3ds.c
|
src/tms/modules/3ds.c
|
||||||
|
|
||||||
src/lua/*.c
|
src/*.cc
|
||||||
src/SDL_image/*.c
|
src/*.c
|
||||||
|
|
||||||
src/src/*.cc
|
lib/lua/*.c
|
||||||
src/src/*.c
|
lib/SDL_image/*.c
|
||||||
|
|
||||||
src/Box2D/Collision/*.cc
|
lib/Box2D/Collision/*.cc
|
||||||
src/Box2D/Collision/Shapes/*.cc
|
lib/Box2D/Collision/Shapes/*.cc
|
||||||
src/Box2D/Common/*.cc
|
lib/Box2D/Common/*.cc
|
||||||
src/Box2D/Dynamics/*.cc
|
lib/Box2D/Dynamics/*.cc
|
||||||
src/Box2D/Dynamics/Contacts/*.cc
|
lib/Box2D/Dynamics/Contacts/*.cc
|
||||||
src/Box2D/Dynamics/Joints/*.cc
|
lib/Box2D/Dynamics/Joints/*.cc
|
||||||
src/Box2D/Particle/*.cc
|
lib/Box2D/Particle/*.cc
|
||||||
)
|
)
|
||||||
|
|
||||||
if(BACKEND_IMGUI)
|
if(BACKEND_IMGUI)
|
||||||
file(GLOB IMGUI_SRCS
|
file(GLOB IMGUI_SRCS
|
||||||
src/imgui/*.cpp)
|
lib/imgui/*.cpp)
|
||||||
list(APPEND SRCS ${IMGUI_SRCS})
|
list(APPEND SRCS ${IMGUI_SRCS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
@ -143,7 +143,7 @@ if(NOT SCREENSHOT_BUILD)
|
||||||
find_package(CURL REQUIRED)
|
find_package(CURL REQUIRED)
|
||||||
include_directories(${CURL_INCLUDE_DIR})
|
include_directories(${CURL_INCLUDE_DIR})
|
||||||
|
|
||||||
file(GLOB SDL_mixer_SRCS src/SDL_mixer/*.c)
|
file(GLOB SDL_mixer_SRCS lib/SDL_mixer/*.c)
|
||||||
list(APPEND SRCS ${SDL_mixer_SRCS})
|
list(APPEND SRCS ${SDL_mixer_SRCS})
|
||||||
|
|
||||||
add_definitions(-DBUILD_CURL)
|
add_definitions(-DBUILD_CURL)
|
||||||
|
|
@ -162,7 +162,7 @@ if(USE_LUASOCKET)
|
||||||
add_definitions(-DBUILD_LUASOCKET)
|
add_definitions(-DBUILD_LUASOCKET)
|
||||||
|
|
||||||
file(GLOB LUASOCKET_SRCS
|
file(GLOB LUASOCKET_SRCS
|
||||||
src/luasocket/*.c)
|
lib/luasocket/*.c)
|
||||||
|
|
||||||
list(APPEND SRCS ${LUASOCKET_SRCS})
|
list(APPEND SRCS ${LUASOCKET_SRCS})
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
3
Doxyfile
3
Doxyfile
|
|
@ -14,8 +14,7 @@ BUILTIN_STL_SUPPORT = YES
|
||||||
# Input
|
# Input
|
||||||
RECURSIVE = YES
|
RECURSIVE = YES
|
||||||
STRIP_FROM_PATH = src
|
STRIP_FROM_PATH = src
|
||||||
INPUT = src/main_page.dox \
|
INPUT = src/
|
||||||
src/src/ src/tms/
|
|
||||||
|
|
||||||
# Dot graphs
|
# Dot graphs
|
||||||
HAVE_DOT = YES
|
HAVE_DOT = YES
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,5 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
${GENERATE_VERSION_SOURCE_DIR}/src/src/version_info_git.hh.in
|
${GENERATE_VERSION_SOURCE_DIR}/src/version_info_git.hh.in
|
||||||
${GENERATE_VERSION_BINARY_DIR}/version_info_git.hh)
|
${GENERATE_VERSION_BINARY_DIR}/version_info_git.hh)
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue