Commit Graph

792 Commits

Author SHA1 Message Date
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
Username404 f391b637a9
Jenkinsfile: Set NO_SELF_PACKER to ON when upx does not exist in the /usr/bin directory
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-16 23:05:06 +02:00
Username404 84add6cbde
Jenkinsfile: Set CPACK_STRIP_FILES to FALSE
CMakeLists.txt: Don't redefine CPACK_STRIP_FILES if it is already
defined

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 19:07:02 +02:00
Username404 89888113e7
CMakeLists.txt: Disable UPX when using a mingw toolchain, else the produced executable crashes at runtime
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:39:26 +02:00
Username404 e9468a3c7e
Jenkinsfile: Fix indentation at line 31
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:21:50 +02:00
Username404 ffb4b2bce3
Jenkinsfile: Set the timeout to 25 minutes
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:20:41 +02:00
Username404 28bac14303
Jenkinsfile: Disable UPX when compiling for the riscv architecture
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:19:58 +02:00
Username404 8923bdb12e
Jenkinsfile: Add an "Optional Tools" section to the comment
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:12:46 +02:00
Username404 c18e642903
Jenkinsfile: Don't run strip on executables when UPX is installed on the host
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:36:53 +02:00
Username404 a741422dbc
Jenkinsfile: Add a "build_directory" local variable
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:32:01 +02:00
Username404 faf15b4ccf
CMakeLists.txt: Add "--best" to the flags for UPX
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:26:46 +02:00
Username404 4f2f4a7fa9
CMakeLists.txt: Remove a few useless symbols in a condition
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:12:03 +02:00