Commit Graph

767 Commits

Author SHA1 Message Date
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
Username404 7b6e2165ba
CMakeLists.txt: Find a self-packer and use it if it's found (except when CMAKE_BUILD_TYPE is set to Debug or RelWithDebInfo)
Add the --ultra-brute flag when upx is found

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:11:11 +02:00
Username404 6afec609b0
Jenkinsfile: Use glibc when compiling for riscv64 since the riscv64 cross-compiler doesn't seem to work
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 23:43:39 +02:00
Username404 70f82953f8
Jenkinsfile: Clarify the MinGW part of the "Required Compilers" section
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:58:34 +02:00
Username404 206549eb66
Jenkinsfile: Update the "Required Compilers" since musl does not seem to support std::future when cross-compiling for Windows
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:51:41 +02:00
Username404 f88ceebf3a
Jenkinsfile: Use ld when ld.gold is not available
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:41:17 +02:00
Username404 853f904528
Jenkinsfile: Link the binaries statically with muslc instead of linking them dynamically with glibc
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:15:55 +02:00
Username404 1469d92bdf
CMakeLists.txt: Don't link against OpenMP when using static linking
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 20:02:34 +02:00
Username404 b206dfa879
Update examples/HelloWorld.ybcon and README.md
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:44:36 +02:00
Username404 9e29ec8c29
docs/gettingstarted.md: Remove the "Main" section
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:42:55 +02:00
Username404 7ebf0ab5a4
Parser.hpp: Shorten two "if" statements
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:33:16 +02:00
Username404 46a09217fe
Parser.hpp: Prevent the reuse of identifiers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:32:48 +02:00
Username404 a8e514d67f
Parser.hpp: Prevent the redefinition of functions
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 12:09:01 +02:00
Username404 f0128bf0c3
CMakeLists.txt: Use the standard C++ exception handling model on MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-20 17:14:14 +02:00
Username404 dfb2ac8062
CMakeLists.txt: Fix template errors on MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-20 17:11:14 +02:00
Username404 dcd3354604
CMakeLists.txt: Make sure conforming mode is enabled when using MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-20 17:10:56 +02:00