Commit Graph

327 Commits

Author SHA1 Message Date
Username404 079d99e08a
Remove the parameter of Target.get(), add it to Target as a property and rename Target.get() to Target.on() 2021-08-23 12:49:22 +02:00
Username404 664a6a92be
Begin adding transpilation of basic elements 2021-08-22 23:57:18 +02:00
Username404-59 57f8f251bc
Add a CF_PROTECTION variable to hold the -fcf-protection flag in the CMakeLists.txt file 2021-08-22 17:03:53 +02:00
Username404 9a1ea05e83
Add two optimization flags for the GNU compiler 2021-08-22 12:14:12 +02:00
Username404 8c63f1ae8b
Capture fileName by reference since it is now one, and give a type to currentFuture 2021-08-20 10:41:09 +02:00
Username404-59 fdb8579941
Fix a typo from the previous commit 2021-08-20 01:42:43 +02:00
Username404-59 845794a922
Prevent the compilation output from being printed when printResult is false 2021-08-20 01:34:29 +02:00
Username404 729e04161f
Make fileName a reference in a loop of main.cpp, and use findReferencesById() instead of findById() in ParseComponents.hpp 2021-08-20 00:08:51 +02:00
Username404 2e9e063d71
Use smart pointers instead of raw pointers in ParseComponents.hpp, remove an unused dependency in main.cpp and capture fileName by value in main.cpp to avoid using its reference after the current scope 2021-08-19 23:55:55 +02:00
Username404 845f356a86
Show a warning when CMake/CPack 3.21.1 is being used 2021-08-18 23:40:46 +02:00
Username404 4b0e58dd6a
Don't statically link libgcc, and don't use GCC/Clang flags on MSVC when cross-compiling for windows 2021-08-18 20:33:05 +02:00
Username404 66af9b9e2b
Update a multi-line comment in lexer.cpp 2021-08-18 19:36:30 +02:00
Username404 fd6ce35291
Add line numbers to Yerbacon::Exception 2021-08-18 19:31:02 +02:00
Username404 989650dba6
Catch exceptions in the main function 2021-08-18 18:59:46 +02:00
Username404 24d73a3f82
Add a note about the CMake 3.20+ requirement in the Jenkinsfile and set the used cmake installation to "Latest" 2021-08-18 14:17:39 +02:00
Username404 ab7fcee9a2
Set CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS in the Jenkinsfile to avoid errors caused by dpkg 2021-08-18 13:44:01 +02:00
Username404 df334ec693
Revert "Set the debian package dependencies manually."
This reverts commit 02f6a3db
2021-08-18 12:57:00 +02:00
Username404 3b31ad0c6d
Set the package architectures of x86 packages to i386 instead of i686 2021-08-17 17:48:16 +02:00
Username404 05e8c5c9b6
Build x86 packages in the Jenkinsfile 2021-08-17 17:31:35 +02:00
Username404 82dde27690
Use GNU strip on produced executables in the buildTarget functions of the Jenkinsfile 2021-08-16 11:52:38 +02:00
Username404 18da9b800a
Revert "Make enumerations and wide characters shorter by default when using a GNU compiler or Clang."
This reverts commit dad410f6
2021-08-16 11:41:58 +02:00
Username404-59 31858e68a0
Fix the buildTarget method's parameters again by making isPackageArchDeb a boolean 2021-08-16 00:24:54 +02:00
Username404 b8b809a876
Add a boolean parameter to the buildTarget function of the Jenkinsfile to choose whether to use the debian architecture or the rpm architecture in the names of produced packages 2021-08-15 21:27:29 +02:00
Username404 58e54f1b94
Always use clang with lld when compiling for the host platform in the Jenkins pipeline 2021-08-15 17:57:55 +02:00
Username404 4f0fa09cd9
Build packages for the aarch64 and armhf architectures in the Jenkinsfile 2021-08-15 17:19:37 +02:00
Username404 e874cbdf32
Use a dot instead of a hyphen for the package architecture suffix 2021-08-15 17:17:11 +02:00
Username404 7fd3cc32c8
Fix the position of the cmakeArgs arguments in functions calls in the Jenkinsfile, and add a CXX_TARGET variable 2021-08-15 17:08:24 +02:00
Username404 9f25ef909b
Re-add previously removed types in the Jenkinsfile 2021-08-15 16:40:50 +02:00
Username404 c17ec47d06
Add a missing $ when invoking cpack in the Jenkins pipeline 2021-08-15 16:25:39 +02:00
Username404 d25b0f71c8
Fix string interpolation in the Jenkinsfile using quotes 2021-08-15 16:24:27 +02:00
Username404 42ae8e1342
Define the buildTarget function outside of the Jenkins pipeline 2021-08-15 16:17:10 +02:00
Username404 28fcc49572
Add a function to the Jenkinsfile and archive artifacts in each cmake-build directory 2021-08-15 16:13:24 +02:00
Username404 7016eb18c4
Add the target architecture as a suffix to packages in CMakeLists.txt 2021-08-15 15:38:55 +02:00
Username404 1f5c0b1b7a
Enable exceptions handling in the CMakeLists.txt file 2021-08-14 23:15:46 +02:00
Username404 af3a9202c0
Make enumerations and wide characters shorter by default when using a GNU compiler or Clang. 2021-08-14 22:47:48 +02:00
Username404 a3cdf22000
Inline the `<<` operator in ParseComponents.hpp 2021-08-14 10:45:13 +02:00
Username404 d6de61df99
Add a few optimizations for G++ in the CMakeLists.txt file 2021-08-11 22:42:45 +02:00
Username404 5c3eecd560
Undefine YBCON_VERSION in Yerbacon.hpp 2021-08-10 15:48:26 +02:00
Username404 e8916cf40f
Move the UNEXPECTED case in lexer.cpp 2021-08-10 14:55:28 +02:00
Username404 f4297fe851
Use STRING directly in the getIdentifierCharType() function. 2021-08-10 14:01:20 +02:00
Username404 e9ce6362af
Add a DOT token to lex.hpp, and only use the enum characters. 2021-08-10 13:54:50 +02:00
Username404 7a23e31dea
Only define the CMAKE_RC_COMPILER when it isn't defined in the CMakeLists.txt file. 2021-08-10 12:22:28 +02:00
Username404 404b580ec3
Don't execute make commands in parallel in the Jenkinsfile. 2021-08-10 11:00:08 +02:00
Username404 41da4ef6ac
Add even more flags for the GNU and Clang compilers... 2021-08-10 10:58:18 +02:00
Username404 8739623a08
Move the Clang flags to the CMAKE_CXX_FLAGS_RELEASE, and add another flag. 2021-08-10 10:44:17 +02:00
Username404 f472878180
Use the flag added previously on Clang++ too, and replace occurrences of version numbers with the two variable containing minimal versions of compilers. 2021-08-10 10:32:04 +02:00
Username404 cc0d29fda7
Add an optimization flags for GNU compilers in the CMakeLists.txt file. 2021-08-09 21:33:18 +02:00
Username404 e414688156
Rename the second stage of the pipeline in the Jenkinsfile 2021-08-09 20:55:43 +02:00
Username404 a875f8ab80
Only strip the executable found in ./cmake-build-release. 2021-08-09 18:29:13 +02:00
Username404 ed6851f8e7
Re-add the cmake calls in the Jenkinsfile. 2021-08-09 18:14:56 +02:00