Commit Graph

22 Commits

Author SHA1 Message Date
Patrix
5ee89bb1dd moved setting variable after defining the project in CMakeLists.txt 2024-08-05 03:11:42 +02:00
Patrix
5205a76bff Updated project:
- upgraded sqapi version
- added required setting of CMAKE_CXX_STANDARD to 17 (sqrat requirement)
2024-08-05 03:09:53 +02:00
Patrix
d81b50a8ac Moved add_subdirectory call as a last one in CMakeLists.txt 2024-03-13 05:21:46 +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
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
2f12475487 Fixed library suffix in CMakeLists.txt 2022-11-09 17:21:11 +01:00
Patrix
dc1f149552 Renamed cmake variable SHARED_LIBRARY_SUFFIX to OUT_FILE_SUFFIX 2022-10-28 01:30:14 +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
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
b5079d1e24 Fixed SHARED_LIBRARY_SUFFIX in CMakeLists.txt 2022-06-30 22:17:29 +02:00
Patrix
415ea9f95f Added CI & platform specific toolchain files 2022-06-13 16:53:01 +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
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
f518796657 Replaced GLOB_RECURSE with GLOB in CMakeLists.txt 2021-04-14 20:46:13 +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