Commit Graph

12 Commits

Author SHA1 Message Date
Patrix
65568cfa92 Corrected sqapi.h include brackets 2024-03-09 00:40:25 +01:00
Patrix
989a1a0a8b Added documentation generation in .gitlab-ci.yml 2024-03-04 01:02:39 +01:00
Patrix
f37760bed1 Updated sqapi dependency 2024-03-01 16:27:44 +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
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
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
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
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
f43c9f55a1 Fixed compile time errors. 2021-04-14 19:26:15 +02:00
Patrix
f75416d878 Modified project structure:
- renamed sqmodule_api.h/.cpp to module_api
- moved defines for sq_* functions into squirrel_api.h
- renamed SqModule::inti to SQModule::Init
- moved all of the files to "api" subfolder
2021-04-13 21:22:30 +02:00
Patrix
eb27c28845 Renamed namespace sqModule to SqModule, added SqModule::init function 2021-04-12 19:52:27 +02:00
Patrix
4a6a3ccd94 Initial commit 2021-04-12 18:28:11 +02:00