Commit Graph

485 Commits

Author SHA1 Message Date
Username404-59 f3322f996e
Precompile the Yerbacon.hpp header file 2021-09-23 11:31:54 +02:00
Username404-59 3fd04724f1
Add an option to disable ccache in the CMakeLists.txt file 2021-09-23 10:57:39 +02:00
Username404-59 1ee7b8dc7c
Use interprocedural optimization flags on every C++ compiler that supports it 2021-09-22 16:45:32 +02:00
Username404 82520e63ba
Handle the "--version" argument when iterating on argc 2021-09-21 21:45:31 +02:00
Username404 6ce13be4ca
Don't append CMAKE_CXX_COMPILER_ARCHITECTURE_ID to CPACK_SYSTEM_NAME + CPACK_TOPLEVEL_TAG, and remove a few newlines in ParseComponents.hpp 2021-09-19 21:37:53 +02:00
Username404 1371457a1f
Reserve memory before adding elements to parse trees 2021-09-19 20:48:08 +02:00
Username404 beea9bfadf
Make const parse trees actually constant, fix formatting in Target.hpp and classes derived from Target 2021-09-19 20:45:57 +02:00
Username404 ed3da58e31
Add the "-pthread" flag to the G++/Clang common flags instead of using another redundant condition 2021-09-18 22:51:34 +02:00
Username404 6243e97d48
Add "-fstrict-enums" to the compiler options for g++ and clang 2021-09-18 22:19:58 +02:00
Username404 328c8a6868
Make sure that rtti is enabled on g++ and clang 2021-09-18 22:02:07 +02:00
Username404 4f2fbe2b19
Set the "-fzero-call-used-regs" flag on GNU compilers 2021-09-18 20:01:44 +02:00
Username404 c1ed7b3e16
Only set the CPack_NSIS branding text variables on windows 2021-09-18 18:29:53 +02:00
Username404 7a12f275ea
Set the nsis branding text 2021-09-18 18:23:00 +02:00
Username404 4d76c684c3
Set the nsis branding text position in the CMakeLists.txt file 2021-09-18 18:09:04 +02:00
Username404 82d733af54
Edit the use of convertible_to in Parser.hpp 2021-09-18 16:34:01 +02:00
Username404 8cb72a9baa
Remove a useless condition in Parser.hpp 2021-09-18 16:26:29 +02:00
Username404 fefa7b05c7
Take an initializer_list instead of variadic arguments in the nextAre lambda function 2021-09-18 15:32:31 +02:00
Username404 01a1e5d339
Add the "-ftree-parallelize-loops" argument to the GNU compiler flags 2021-09-18 15:15:44 +02:00
Username404 500662f5c5
Add the isFinalDefine boolean to 1 in Parser.hpp 2021-09-15 20:05:23 +02:00
Username404 08a038cf82
Set the ParsingException cause to another string when no identifier is given to a class, and pass the component's line to the exception 2021-09-14 20:43:09 +02:00
Username404 95d6b2239a
Append characters directly instead of creating a new string in the default case of lexer.cpp 2021-09-14 20:22:42 +02:00
Username404 44e160ebf9
Don't throw an exception when "isTypeString" is false in lexer.cpp 2021-09-14 20:20:34 +02:00
Username404-59 4201e3bcfb
Don't use openmp at all in mingw toolchains since they don't seem to work with it 2021-09-14 12:50:55 +02:00
Username404 02bde3b106
Make the "languages" array a constant variable 2021-09-13 18:24:01 +02:00
Username404 33ee011aed
Fix the findById() and findReferenceByName() methods in ParseComponents.hpp since the filter function doesn't actually exist 2021-09-12 16:45:30 +02:00
Username404 2672f33959
Add a hyphen to the windows suffix and archive artifacts produced by a mingw toolchain in the Jenkinsfile 2021-09-12 14:29:25 +02:00
Username404 8c5d36aaa4
Pass booleans in the second stage of the Jenkinsfile 2021-09-12 14:01:18 +02:00
Username404 4fcfcfaa49
Add a "suffix" parameter to buildTarget 2021-09-12 13:59:07 +02:00
Username404 b3b505c210
Pass the "--no-warn-unused-cli" argument in the buildTarget function 2021-09-12 13:55:05 +02:00
Username404 941a3de72e
Set the RC compiler in the Jenkinsfile to avoid issues 2021-09-12 13:52:48 +02:00
Username404 d9913d0c9f
Use a type definition in Target.hpp 2021-09-12 13:48:34 +02:00
Username404 5f97e94abf
Cross-compile to 4 windows architectures instead of just one 2021-09-12 13:39:55 +02:00
Username404 9cc7f8e39e
Only put the openmp flags when it is present 2021-09-12 12:45:15 +02:00
Username404 e6e12a26ec
Enable OpenMP when it is found in CMakeLists.txt and add two variables called IS_GNU and IS_CLANG 2021-09-12 12:41:15 +02:00
Username404 2b84262ea0
Use std::filter and std::transform instead of the std::ranges library and make the destructor of the Target class virtual 2021-09-12 12:00:21 +02:00
Username404 c0966f9650
Only enable position independent code when it is supported by the compiler 2021-09-12 12:00:15 +02:00
Username404 e79a7415de
Add an overload to reuse the same characters for the two parameters of Target::stringInterpolation and use an escaped character sequence 2021-09-11 13:42:22 +02:00
Username404 26421597f2
Prohibit the use of --newlinesoff with targets that do not support putting a whole script on one line 2021-09-11 13:19:43 +02:00
Username404 96bd6bf708
Re-add the newlinesoff argument 2021-09-11 11:49:57 +02:00
Username404 bfa8f50ad9
Revert "Add a "SEPARATOR" token type"
This reverts commit 47478173
2021-09-11 11:35:22 +02:00
Username404 84b9f9de73
Add the [[unlikely]] attribute to the '\r' case in lexer.cpp 2021-09-10 22:20:41 +02:00
Username404 6de05633d9
Add a "SEPARATOR" token type 2021-09-10 22:15:05 +02:00
Username404 37a6c0e047
Remove the oldClosingBraceIsFar boolean in Target.hpp 2021-09-02 10:35:53 +02:00
Username404 76c8975e27
Use a reference in the Argument "==" operator, and move the currentArg variable of main.cpp into the loop used for arguments 2021-09-02 10:34:00 +02:00
Username404 d6642f9ae5
Make getId() a constexpr function and use arrow syntax to call it in Target.hpp instead of dereferencing a pointer 2021-09-02 10:08:10 +02:00
Username404-59 52474d6521
Cross-compile for the riscv64 architecture in the Jenkinsfile 2021-09-02 01:10:47 +02:00
Username404 b5697bf0a8
Take the remaining characters of a string instead of taking none in a condition of the stringInterpolation() function from Target.hpp 2021-09-01 19:31:04 +02:00
Username404 afc59c7a22
Don't find occurrences when closing characters are not found in Target.hpp, make the interpolation strings static const variables and fix typos 2021-08-31 15:19:44 +02:00
Username404 bc2f6938e3
Use negation in the multiline boolean of Target.hpp 2021-08-31 14:47:13 +02:00
Username404-59 75ca9376fa
Add flags to unwind tables in the CMakeLists.txt 2021-08-30 16:23:55 +02:00