This commit is contained in:
Isuru Samarathunga
2025-10-05 16:17:27 +05:30
parent f8b41a0d61
commit 71c7499226
10 changed files with 31 additions and 17 deletions

5
.gitignore vendored
View File

@ -48,3 +48,8 @@
.cache/
build/
build-windows/
build-linux/
build-ios/
build-mac/
build-android/

4
.vscode/launch.json vendored
View File

@ -8,10 +8,10 @@
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/build/bin/Debug/IAEngineRuntimeWin.exe",
"program": "${workspaceFolder}/build/bin/Debug/IAERuntime.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"cwd": "${workspaceFolder}",
"environment": [],
"console": "externalTerminal",
"preLaunchTask": "CMake: build"

View File

@ -30,11 +30,12 @@
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
#define IAE_LOG_TAG "[IAE]: "
#define IAE_LOG_TAG "IAE"
#define IAE_LOG_INFO(...) ia::Logger::Info(IAE_LOG_TAG, __VA_ARGS__)
#define IAE_LOG_WARN(...) ia::Logger::Warn(IAE_LOG_TAG, __VA_ARGS__)
#define IAE_LOG_ERROR(...) ia::Logger::Error(IAE_LOG_TAG, __VA_ARGS__)
#define IAE_LOG_SUCCESS(...) ia::Logger::Success(IAE_LOG_TAG, __VA_ARGS__)
namespace ia::iae
{

View File

@ -0,0 +1,7 @@
set(SRC_FILES
"Src/Imp/CPP/Main.cpp"
)
add_library(IAERuntime SHARED ${SRC_FILES})
target_link_libraries(IAERuntime PRIVATE IAEngine nlohmann_json SDL3::SDL3)

View File

View File

@ -2,6 +2,6 @@ set(SRC_FILES
"Src/Imp/CPP/Main.cpp"
)
add_executable(IAEngineRuntimeWin ${SRC_FILES})
add_executable(IAERuntime ${SRC_FILES})
target_link_libraries(IAEngineRuntimeWin PRIVATE IAEngine nlohmann_json SDL3::SDL3)
target_link_libraries(IAERuntime PRIVATE IAEngine nlohmann_json SDL3::SDL3)

1
Tools/BuildAndroid.bat Normal file
View File

@ -0,0 +1 @@
cmake -S . -B ./build-android -DCMAKE_TOOLCHAIN_FILE="$NDK_PATH\build\cmake\android.toolchain.cmake" -DANDROID_ABI=x86_64

22
Vendor/CMakeLists.txt vendored
View File

@ -81,15 +81,15 @@ add_subdirectory(json/)
# -----------------------------------------------
# NativeFileDialog
# -----------------------------------------------
add_library(
NFD STATIC
"nativefiledialog/src/nfd_common.c"
"nativefiledialog/src/nfd_win.cpp"
)
target_include_directories(
NFD PUBLIC
"nativefiledialog/src/include"
)
#add_library(
# NFD STATIC
#
# "nativefiledialog/src/nfd_common.c"
# "nativefiledialog/src/nfd_win.cpp"
#)
#target_include_directories(
# NFD PUBLIC
#
# "nativefiledialog/src/include"
#)

2
Vendor/IACore vendored