Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
c11bb15
vcpkgTest init commit
marauder2k7 Oct 18, 2025
1e929d0
mac vcpkg
marauder2k7 Oct 18, 2025
316623f
Update CMakeLists.txt
marauder2k7 Oct 18, 2025
788faf5
osx 11 configure
marauder2k7 Oct 18, 2025
d455d70
linux required changes
marauder2k7 Oct 18, 2025
9ccecdd
more changes for linux
marauder2k7 Oct 18, 2025
87e83e2
git ci
marauder2k7 Oct 18, 2025
624e212
fixes for git ci
marauder2k7 Oct 18, 2025
763e038
try again release only
marauder2k7 Oct 18, 2025
b84c1ff
RELEASE ONLY!
marauder2k7 Oct 18, 2025
62f5ab8
fixes
marauder2k7 Oct 18, 2025
4a8f616
more fixes
marauder2k7 Oct 18, 2025
acf4693
x86_64 macos
marauder2k7 Oct 18, 2025
ac61220
Update torque_configs.cmake
marauder2k7 Oct 18, 2025
373f275
Update torque_configs.cmake
marauder2k7 Oct 18, 2025
7acb3b5
attempt universal
marauder2k7 Oct 18, 2025
492c059
ground work for openal refactor
marauder2k7 Oct 19, 2025
6fc8157
Update LoadOAL.cpp
marauder2k7 Oct 19, 2025
d27366f
Improved SFX Loading
marauder2k7 Oct 21, 2025
76a92d7
Update audioOptions.tscript
marauder2k7 Oct 21, 2025
c8f5160
Update optionsMenu.tscript
marauder2k7 Oct 21, 2025
314914d
few moar cleanups
marauder2k7 Oct 21, 2025
c8c20ff
Update guiPopUpCtrlEx.cpp
marauder2k7 Oct 21, 2025
0e7aab3
remove raw libs and replace with tars
marauder2k7 Oct 22, 2025
87ecbc0
overlay ports for vcpkg
marauder2k7 Oct 22, 2025
f577d33
lib root directory needs set as an env for vcpkg to see it
marauder2k7 Oct 22, 2025
cc8e656
Update portfile.cmake
marauder2k7 Oct 22, 2025
e3a753a
Update build-windows-msvc.yml
marauder2k7 Oct 22, 2025
894d9db
Update build-windows-msvc.yml
marauder2k7 Oct 22, 2025
df89e96
git ci fix
marauder2k7 Oct 22, 2025
986d2f0
Update CMakeLists.txt
marauder2k7 Oct 22, 2025
5be2532
Update torque_configs.cmake
marauder2k7 Oct 22, 2025
cbf61cf
sound asset
marauder2k7 Oct 22, 2025
60f3bd6
Update CMakeLists.txt
marauder2k7 Oct 23, 2025
34d5936
Update torque_macros.cmake
marauder2k7 Oct 23, 2025
e669988
third party libs
marauder2k7 Oct 23, 2025
a0af2e5
seperate out d3d compiler to windows only
marauder2k7 Oct 23, 2025
5a3612a
Update CMakeLists.txt
marauder2k7 Oct 23, 2025
f7c7439
libsndfile needs dynamic linking due to license
marauder2k7 Oct 23, 2025
3df4e88
sdl2 dynamic aswell across all platforms
marauder2k7 Oct 23, 2025
bf43c56
always universal osx
marauder2k7 Oct 24, 2025
bb084c2
various tweaks
marauder2k7 Oct 24, 2025
afaafaa
run vcpkg in manifest mode
marauder2k7 Oct 25, 2025
a97698c
arm64 build
marauder2k7 Nov 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
46 changes: 25 additions & 21 deletions .github/workflows/build-linux-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,26 +56,30 @@ jobs:
sudo apt-get install -y \
build-essential \
nasm \
libogg-dev \
libxft-dev \
git \
curl \
zip \
unzip \
pkg-config \
autoconf \
autoconf-archive \
automake \
make \
libtool \
libltdl-dev \
libx11-dev \
libxxf86vm-dev \
libopenal-dev \
libasound2-dev \
libpipewire-0.3-dev \
portaudio19-dev \
oss4-dev \
libjack-dev \
libpulse-dev \
libdbus-1-dev \
libfreetype6-dev \
libxcursor-dev \
libxinerama-dev \
libxi-dev \
libxrandr-dev \
libxss-dev \
libglu1-mesa-dev \
libxft-dev \
libxext-dev \
libwayland-dev \
libxkbcommon-dev \
libegl1-mesa-dev \
libibus-1.0-dev \
libgtk-3-dev

sudo apt-get install -y \
python3

pip install jinja2


- name: Configure, Build & Install
Expand All @@ -86,20 +90,20 @@ jobs:
c-compiler: ${{matrix.config.cc}}
cxx-compiler: ${{matrix.config.cxx}}
generator: ${{matrix.config.generator}}
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} GIT_CI_BUILD=ON TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON TORQUE_LIB_ROOT_DIRECTORY="${{github.workspace}}/Engine/lib"
run-build: true
build-args: --config ${{matrix.config.build_type}} --target install

- name: Unit Tests
run: |
cd "${{github.workspace}}/My Projects/Torque3D/game"
cd "${{github.workspace}}/My_Projects/Torque3D/game"
./Torque3D runTests.tscript

- name: Test Reporter
uses: phoenix-actions/test-reporting@v14
with:
name: Linux test results
path: "**/My Projects/Torque3D/game/test_detail.xml"
path: "**/My_Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: false
if: github.event_name != 'pull_request'
12 changes: 6 additions & 6 deletions .github/workflows/build-macos-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ permissions:
checks: write

jobs:
build-linux:
build-macos:
if: github.repository == 'TorqueGameEngines/Torque3D'
name: ${{matrix.config.name}}
runs-on: macos-13
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Install MacOSX Dependencies
run: |
brew install ninja
brew install ninja zip unzip curl pkgconfig
ninja --version
cmake --version

Expand All @@ -60,20 +60,20 @@ jobs:
c-compiler: ${{matrix.config.cc}}
cxx-compiler: ${{matrix.config.cxx}}
generator: ${{matrix.config.generator}}
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} GIT_CI_BUILD=ON TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON TORQUE_LIB_ROOT_DIRECTORY="${{github.workspace}}/Engine/lib"
run-build: true
build-args: --config ${{matrix.config.build_type}} --target install

- name: Unit Tests
run: |
cd "${{github.workspace}}/My Projects/Torque3D/game"
cd "${{github.workspace}}/My_Projects/Torque3D/game"
./Torque3D.app/Contents/MacOS/Torque3D runTests.tscript

- name: Test Reporter
uses: phoenix-actions/test-reporting@v14
with:
name: MacOS Test results
path: "**/My Projects/Torque3D/game/test_detail.xml"
path: "**/My_Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: false
if: github.event_name != 'pull_request'
6 changes: 3 additions & 3 deletions .github/workflows/build-windows-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@ jobs:
c-compiler: ${{matrix.config.cc}}
cxx-compiler: ${{matrix.config.cxx}}
generator: ${{matrix.config.generator}}
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} GIT_CI_BUILD=ON TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON TORQUE_LIB_ROOT_DIRECTORY="${{github.workspace}}\\Engine\\lib"
run-build: true
build-args: --config ${{matrix.config.build_type}} --target install

- name: Unit Tests
run: |
cd "${{github.workspace}}/My Projects/Torque3D/game"
cd "${{github.workspace}}/My_Projects/Torque3D/game"
./Torque3D.exe runTests.tscript

- name: Test Reporter
uses: phoenix-actions/test-reporting@v14
with:
name: Windows test results
path: "**/My Projects/Torque3D/game/test_detail.xml"
path: "**/My_Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: false
if: github.event_name != 'pull_request'
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pip-log.txt
console.log
*.cached.dts
!Engine/bin
My Projects/
My_Projects/
Project Manager.exe
projects.xml
Qt*.dll
Expand Down
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cmake.configureArgs": [
"-DTORQUE_APP_NAME=TestProject"
],

"cmake.buildDirectory": "${workspaceFolder}/My_Projects/cmake"
}
28 changes: 28 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++-11 build active file",
"command": "/usr/bin/g++-11",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
14 changes: 11 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ endif()
project(${TORQUE_APP_NAME})

# Once an app name is determined, we know what our project pathing structure should look like
set(TORQUE_APP_ROOT_DIRECTORY "${CMAKE_SOURCE_DIR}/My Projects/${TORQUE_APP_NAME}")
set(TORQUE_APP_ROOT_DIRECTORY "${CMAKE_SOURCE_DIR}/My_Projects/${TORQUE_APP_NAME}")
set(TORQUE_APP_GAME_DIRECTORY "${TORQUE_APP_ROOT_DIRECTORY}/game")

#library handling
set(TORQUE_LIB_ROOT_DIRECTORY "${CMAKE_SOURCE_DIR}/Engine/lib")
set(TORQUE_LIB_ROOT_DIRECTORY "${CMAKE_SOURCE_DIR}/Engine/lib" CACHE STRING "" FORCE)
set(TORQUE_LIB_TARG_DIRECTORY "${CMAKE_BINARY_DIR}/Engine/lib")
set(TORQUE_SOURCE_DIRECTROY "${CMAKE_SOURCE_DIR}/Engine/source")

Expand Down Expand Up @@ -67,9 +67,17 @@ endif()

if (NOT TORQUE_INSTALLED_TEMPLATE)
installTemplate(${TORQUE_TEMPLATE})
set(TORQUE_INSTALLED_TEMPLATE TRUE CACHE BOOL "Whether or not the game template is installed. This may be reset to false (or removed) to force a reinstall.")
set(TORQUE_INSTALLED_TEMPLATE TRUE CACHE BOOL "Whether or not the game template is installed. This may be reset to false (or removed) to force a reinstall." FORCE)
endif(NOT TORQUE_INSTALLED_TEMPLATE)

# Add a "sync back" target
set(SRC_DIR "${CMAKE_SOURCE_DIR}/Templates/${TORQUE_TEMPLATE}")
set(DEST_DIR "${TORQUE_APP_ROOT_DIRECTORY}")
add_custom_target(sync_${TORQUE_TEMPLATE}_back
COMMAND ${CMAKE_COMMAND} -E copy_directory "${DEST_DIR}" "${SRC_DIR}"
COMMENT "Syncing modified ${TORQUE_TEMPLATE} files back to Templates..."
)

# Generate torqueConfig.h in our temp directory
configure_file("${CMAKE_SOURCE_DIR}/Tools/CMake/torqueConfig.h.in" "${TORQUE_APP_ROOT_DIRECTORY}/source/torqueConfig.h")

Expand Down
Loading