Commit Graph

59 Commits

Author SHA1 Message Date
Patrix
bc331091ab Removed unnecessary toolchain files 2024-03-03 14:56:14 +01:00
Patrix
ee2a72fc84 Simplified .gitlab-ci.yml implementation (WIP) 2024-03-03 04:21:32 +01:00
Patrix
feec0c8b49 Updated .gitlab-ci.yml (refactorized build:windows) 2024-03-02 23:50:39 +01:00
Patrix
bcdce71694 Removed hacky windows toolchain files 2024-03-02 23:50:08 +01:00
Patrix
012739f05f Replaced CMakeSettings.json with CMakePresets.json 2024-03-02 17:11:26 +01:00
Patrix
f37760bed1 Updated sqapi dependency 2024-03-01 16:27:44 +01:00
Patrix
9b45a567fb Updated SRC variable generation in main CMakeLists.txt 2024-03-01 14:58:12 +01:00
Patrix
5a1114e4a0 Updated sqapi + adjusted CMake to use ${PROJECT_NAME} instead of direct target name 2024-03-01 14:50:43 +01:00
Patrix
7a5f02f7f3 Initial rework:
- removed squirrel & sqrat sources, added sqapi as git submodule dependency
- removed module api (it's now included from sqapi target)
- removed unnecessary boilerplate from CMakeLists.txt
2024-03-01 14:29:54 +01:00
Patrix
963f2b7fbf Updated linux toolchain files:
- instead of passing -m32, linux-x86.cmake will now use proper cross compiler
2023-05-14 14:39:17 +02:00
Patrix
3f081e4e57 Updated SqRat to Squirrel 3.2 version #3 2023-04-16 22:31:46 +02:00
Patrix
c227e6c964 Updated SqRat to Squirrel 3.2 version #2 2023-04-16 22:25:40 +02:00
Patrix
a76283053f Updated sqrat dependency to 3.2 squirrel version 2023-04-07 00:02:33 +02:00
Patrix
5537b71651 Updated CMakeLists.txt 2023-01-09 21:30:29 +01:00
Patrix
2e427b0c5d Removed pch.h:
- Under linux pch.h won't work as expected, instead it will slow down build time. In order to fix this, target_precompile_headers cmake function must have every header that will be used in pch.hxx generation.
- Using the opportunity i've removed headers that aren't essential in precompiled header
2023-01-09 20:21:46 +01:00
Patrix
22b53bd3d5 updated .gitlab-ci.yml 2023-01-09 20:20:23 +01:00
Patrix
2f12475487 Fixed library suffix in CMakeLists.txt 2022-11-09 17:21:11 +01:00
Patrix
bde23e2f66 Updated .gitlab-ci.yml 2022-10-28 01:46:00 +02:00
Patrix
f2df97c87f Updated .gitlab-ci.yml:
- Release configuration will now be used for windows & linux builds
2022-10-28 01:34:24 +02:00
Patrix
dc1f149552 Renamed cmake variable SHARED_LIBRARY_SUFFIX to OUT_FILE_SUFFIX 2022-10-28 01:30:14 +02:00
Patrix
05f26fcfdc Updated squirrel & sqrat dependencies 2022-09-05 20:28:37 +02:00
Patrix
e7d4d7002f Fixed release path in windows ci 2022-08-25 12:01:04 +02:00
Patrix
a3d264d1b5 Updated .gitlab-ci.yml:
- using variables instead of implicit constants
- windows release files will now be stored in root directory of zip
2022-08-25 11:57:02 +02:00
Patrix
0700bbc3fc Updated README.md 2022-08-07 13:54:04 +02:00
Patrix
8d03f177c1 Updated sqrat dependency 2022-07-11 06:14:33 +02:00
Patrix
71ce6652cc Updated sqrat dependency. 2022-07-11 03:11:17 +02:00
Patrix
eab3d7c831 Updated dependencies structure:
- Added CMakeLists.txt for each dependency
- Added dependencies/CMakeLists.txt for specifying relation between main lib and it's dependencies
2022-07-07 21:11:24 +02:00
Patrix
3a458ec9aa Addedd inline specifier for sqratBytecode.h functions to prevent xxx already defined errors 2022-07-07 00:14:32 +02:00
Patrix
01c359e51c Updated sqrat dependency 2022-07-06 22:12:13 +02:00
Patrix
4ecbd83d01 Updated Sqrat dependency:
- Added arguments validation for .SquirrelFunc method
2022-07-03 18:42:59 +02:00
Patrix
b5079d1e24 Fixed SHARED_LIBRARY_SUFFIX in CMakeLists.txt 2022-06-30 22:17:29 +02:00
Patrix
226d16844f Added .gitlab-ci.yml & CHANGELOG.md 2022-06-29 21:43:57 +02:00
Patrix
daa7a84cf9 SHARED_LIBRARY_SUFFIX is set by hand to prevent undefined behaviour 2022-06-13 17:33:37 +02:00
Patrix
35017f9527 Added using toolchain files in CMakeSetting.json 2022-06-13 17:12:48 +02:00
Patrix
415ea9f95f Added CI & platform specific toolchain files 2022-06-13 16:53:01 +02:00
Patrix
0720352243 Updated README.md 2022-04-24 16:35:38 +02:00
Patrix
100e74c347 Updated CMakeLists.txt:
- INSTALL_AFTER_BUILD is now set to OFF by default
2021-12-18 15:16:07 +01:00
Patrix
e221d9c80f Revert the revert changes for 0.1.10:
- Removed squirrel dependency (it was required only for 0.1.9, because not every function is listed in HSQAPI struct)
- Restored missing functions declarations in HSQAPI struct added in 0.1.10
- Resotred missing redirect macros in squirrel_api.h
2021-08-28 05:51:44 +02:00
Patrix
3fb79420f3 Corrected formatting in README.md 2021-08-28 05:23:58 +02:00
Patrix
06af930bb8 Updated README.md:
- added information about the cache options.
2021-08-28 05:21:10 +02:00
Patrix
168ba7c048 Updated .gitignore:
- now only top level dirs are ignored, all of the subdirs called, for example "build".
2021-08-28 05:05:26 +02:00
Patrix
b564e77f09 Removed .gitattributes file & updated formatting in CMakeLists.txt 2021-08-28 05:03:24 +02:00
Patrix
fe8920d958 Updated sqrat version to match version used by G2O_Client. 2021-08-28 05:00:24 +02:00
Patrix
fb310bf1ae Updated project structure:
CMake changes:

- Replace text files containing paths to installation, with install commands
- You can set paths as cache variable
- Added new option INSTALL_AFTER_BUILD

Code changes:

- Revert the changes to allow usage for older versions of g2o (like 0.1.9)
This change is only temporary, to publish the release module fo the older g2o versions.
2021-08-04 20:58:27 +02:00
Patrix
80329576f0 Added missing inline modifiers in sqratBytecode.h 2021-04-22 16:51:48 +02:00
Patrix
8b9ecb0ec6 Merge branch 'master' of https://gitlab.com/GothicMultiplayerTeam/modules/squirrel-template 2021-04-22 16:17:00 +02:00
Patrix
4934b44c0b Fixed compile error on gcc:
renamed 'typeof' function pointer in HSQAPI to 'type_of' to avoid naming collision (gcc implements it's own typeof keyword)

https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
2021-04-22 16:16:46 +02:00
Patrix
d81bdbfa88 Fixed compile error on gcc:
renamed 'typeof' function pointer in HSQAPI to 'type_of' to avoid naming collision (gcc implements it's own typeof keyword)

https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
2021-04-22 16:13:49 +02:00
Patrix
14782a9d53 README.md corrections 2021-04-14 23:02:00 +02:00
Patrix
c933348e70 Fixed typo 'mkrdir' in README.md 2021-04-14 21:13:40 +02:00