Commit Graph

693 Commits

Author SHA1 Message Date
Username404 c3e3d46cce
Add Dockerfile and .dockerignore
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 21:45:17 +02:00
Username404 cd7d7f6337
Jenkinsfile: Don't publish windows executables which are not packaged
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 16:00:05 +02:00
Username404 8091d92933
CMakeLists.txt: Set CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE to YES when using a llvm-mingw toolchain
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 15:15:07 +02:00
Username404 23f24e55b1
Parser.hpp: Fix a segmentation fault happening when parseTree is empty
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 10:51:56 +02:00
Username404 94e71ef61e
Jenkinsfile: Disable LTO and UPX for the 'armv7-w64-mingw32' target
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 22:44:53 +02:00
Username404 62652ad9a4
CMakeLists.txt: Don't redefine CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE if it has already been defined
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 21:59:39 +02:00
Username404 d2a83a2f5e
CMakeLists.txt: Use ThinLTO instead of full LTO when Clang is present
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 21:33:48 +02:00
Username404 344b810f12
Jenkinsfile: Reintroduce RPM and DEB package architectures
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404 c55dbb25a6
CMakeLists.txt: Reintroduce CXX_TARGET
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404 ab2b666dd3
CMakeLists.txt: Improve CPACK_PACKAGE_FILE_NAME
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404 8004d3a283
Jenkinsfile: Separate compilation and packaging, move the buildTarget function's content into the "Compile" stage, and clean the workspace of the matrix too
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 11:14:06 +02:00
Username404 bf1cea3e77
Jenkinsfile: Use the matrix directive
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:16:08 +02:00
Username404 3cf67d3445
Jenkinsfile: Don't run upx on aarch64 windows executables
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:04:00 +02:00
Username404 9d64f53728
Jenkinsfile: Fix the "Deploy" stage setting the build result to success when matching files are not found
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:04:00 +02:00
Username404 5fc16d7d41
Jenkinsfile: Add two parameters to buildTarget to simplify the script
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:03:59 +02:00
Username404 7846634165
CMakeLists.txt: Remove PNAME + CXX_TARGET, set CPACK_PACKAGE_FILE_NAME only once and let rpmbuild and the CPack Deb generator decide what file name to use
Jenkinsfile: Remove the buildTarget function's architecture-related parameters
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 02:31:26 +02:00
Username404 0fbe69ba91
Don't reuse CMAKE_EXE_LINKER_FLAGS_RELEASE when setting it to "-s"
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-23 19:18:48 +02:00
Username404 8e74bff30b
Parser.hpp: Fix a tiny typo at line 154
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-20 13:45:32 +02:00
Username404 4795bd54a0
Parser.hpp: Replace the try-catch statement at line 152 with a condition since this seems to fix bad_cast not being caught when running a windows executable which has been compressed using upx
CMakeLists.txt: Revert the 89888113 commit and don't check CMAKE_CXX_LINK_NO_PIE_SUPPORTED when mingw is in use

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-20 13:35:01 +02:00
Username404 c720769305
Jenkinsfile: Catch errors from emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404 a98cd3e534
CMakeLists.txt: Set CMAKE_UNITY_BUILD to TRUE by default
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404 b8bb1181d1
CMakeLists.txt: Disable UPX when position-dependent executables are not supported by the compiler
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404 3e6b6f9560
CMakeLists.txt: Notify the user about position-independent code being unsupported only when it has been manually enabled
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404 fec8a2c4bd
CMakeLists.txt: Notify the user when CMAKE_POSITION_INDEPENDENT_CODE was defined on the command line although UPX is in use
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404 510e7a24f3
CMakeLists.txt: Don't set CMAKE_POSITION_INDEPENDENT_CODE to TRUE if it is already defined
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404 efe7d8ca57
CMakeLists.txt: Disable PIE when using UPX since executables seem to crash on some systems when it is enabled
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:07 +02:00
Username404 a9d460d096
CMakeLists.txt: Set CMAKE_COLOR_DIAGNOSTICS to ON
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 11:22:36 +02:00
Username404 f8010ea2b0
CMakeLists.txt: Pass "-s" to the linker instead of passing it to the compiler
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-03 11:37:42 +02:00
Username404 ae8dc42950
Jenkinsfile: Enable UPX since it now works with stripped executables targeting the musl C library
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 20:04:50 +02:00
Username404 62fa245196
Jenkinsfile: Remove the upx_exists variable (which has been useless since commit 219fb02a)
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 20:00:38 +02:00
Username404 44d4ffb2ee
CMakeLists.txt: Always strip executables when the build type is release
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 19:54:28 +02:00
Username404 da3af239c9
CMakeLists.txt: Add a note about UPX
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 19:39:52 +02:00
Username404 a21eecb0b3
CMakeLists.txt: Fix two indentation errors
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-30 00:01:23 +02:00
Username404 7032695867
CMakeLists.txt: Always use the uppercase build type for comparisons 2022-07-29 12:47:28 +02:00
Username404 7b28ff50b8
CMakeLists.txt: Use strings when doing STREQUAL comparisons, and compare variables instead of their content for IS_GNU and IS_CLANG 2022-07-29 12:40:52 +02:00
Username404 2104f6e804
CMakeLists.txt: Fix the SELF_PACKER_FOR_EXECUTABLE check 2022-07-29 12:22:35 +02:00
Username404 b648a8baba
CMakeLists.txt: Make sure exceptions are enabled when emscripten is in use
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-25 12:33:56 +02:00
Username404 3ca51f450f
CMakeLists.txt: Make sure MINIMAL_RUNTIME is set to 0 when emscripten is in use
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-25 12:33:11 +02:00
Username404 4fa72c0459
Parser.hpp: Parse properties and methods
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-16 12:36:48 +02:00
Username404 bd48d270be
Parser.hpp: Make sure the T typename propagates to the function call in the parse overload
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-08 11:06:35 +02:00
Username404 ac4df6d090
Update README.md
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-07 17:22:44 +02:00
Username404 22d1599237
Add a GodotScript target
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-07 17:22:20 +02:00
Username404 4e08c0cf05
Implement reserved identifiers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-06 15:35:21 +02:00
Username404 2ebb1d5239
main.cpp: Shorten the assignment of printResult and text_provided
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-03 01:14:58 +02:00
Username404 97fa5fbb27
main.cpp: Simplify the condition used for text or files arguments
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-03 01:02:26 +02:00
Username404 7baac757d2
CMakeLists.txt: Use PROJECT_NAME in more places for consistency
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-23 22:49:18 +02:00
Username404 1d33c25c56
Jenkinsfile: Remove the upx section in the tools comment
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-19 11:55:25 +02:00
Username404 219fb02a57
Jenkinsfile: Use strip only because upx does not seem to work with stripped executables and therefore can't possibly save more memory
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-19 11:52:33 +02:00
Username404 6ddf9a5dd2
Revert "Jenkinsfile: Set CPACK_STRIP_FILES to FALSE"
This reverts commit 84add6cb

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-18 14:45:59 +02:00
Username404 c7fcee143c
Jenkinsfile: Strip riscv executables
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-18 13:55:54 +02:00