Commit Graph

132 Commits

Author SHA1 Message Date
Username404 29f0fafe31
Make the subComponents vector mutable, make some functions const and add private methods to ParseTree to make creation of const objects possible. 2021-03-18 14:07:23 +01:00
Username404 28175f2d96
Add a new constructor to ParseTree, and make the compCount variable mutable. 2021-03-18 14:04:57 +01:00
Username404-59 259398f2a3
Process the .manifest file for windows. 2021-03-17 15:32:24 +01:00
Username404-59 13cfdef6ee
Make sure that CXX extensions are disabled in the CMakeLists.txt file. 2021-03-17 14:20:39 +01:00
Username404-59 bd5faa0615
Fix it again? 2021-03-17 14:01:14 +01:00
Username404-59 a7611ec066
Fix the NSIS installation directory. 2021-03-17 13:59:40 +01:00
Username404-59 f32f8abc5c
Remove useless comments in the beginning of each C++ file. 2021-03-17 13:00:22 +01:00
Username404 4235bb4ce3
Add a CMake warning for (mostly) old compilers. 2021-03-16 16:42:28 +01:00
Username404 1b3c135b03
Fix the include path in MainTranspile.cpp. 2021-03-13 19:57:32 +01:00
Username404 67ad3095dd
Set CPACK_NSIS_INSTALL_ROOT instead of CPACK_PACKAGING_INSTALL_PREFIX. 2021-03-13 19:47:35 +01:00
Username404 2bce63b606
Change the default installation directory used by Windows installers. 2021-03-13 19:39:39 +01:00
Username404 fab672afc7
Revert "Also use PROJECT_NAME for the installation directory."
This reverts commit bf6974df
2021-03-13 19:05:31 +01:00
Username404 d24c250dec
Add a PREFIXDIR variable to CMakeLists.txt. 2021-03-13 19:03:56 +01:00
Username404 bf0c692cd2
Try to fix the previous commit. 2021-03-13 19:01:15 +01:00
Username404 b60cadecd1
Set CPACK_PACKAGING_INSTALL_PREFIX to the install prefix for windows installers. 2021-03-13 18:59:15 +01:00
Username404 699c406e30
Also use PROJECT_NAME for the installation directory. 2021-03-13 18:55:58 +01:00
Username404 789ee7e9c2
Set the icon's name back to Yerbacon.png, and use PROJECT_NAME for a few file names in CMakeLists.txt. 2021-03-13 18:53:11 +01:00
Username404 ddb892e7fa
Process the rc file even more, add a EXENAME variable in the CMakeLists.txt file and also change the CMake install prefix for mingw. 2021-03-13 18:49:53 +01:00
Username404 693a0374c9
Just use PROJECT_NAME instead of CMAKE_PROJECT_NAME in the CMakeLists.txt file. 2021-03-13 17:34:31 +01:00
Username404-59 5f2b486c10
Also modify the windows package name. 2021-03-12 22:16:11 +01:00
Username404-59 2f751b1f01
Edit CMakeLists.txt for better package names. 2021-03-12 22:07:37 +01:00
Username404 76fbe593eb
Process the rc file before building. 2021-03-12 21:42:06 +01:00
Username404-59 0c7c890a21
Set CMAKE_INSTALL_PREFIX to /opt in the CMakeLists.txt file. 2021-03-11 20:20:51 +01:00
Username404-59 f00e722dc0
Revert "Generate QtIFW installers with CPack in the CMakeLists.txt file."
This reverts commit 1d1708055084dc23652cd39dad8cc4942dc2b206.
2021-03-10 20:20:52 +01:00
Username404-59 4bc7a99aef
Stop generating QtIFW installers for windows. 2021-03-10 18:00:50 +01:00
Username404-59 cbcacfe52f
Finish Jenkins builds even when CPack failures are present. 2021-03-10 16:04:57 +01:00
Username404-59 d40e85eb06
Generate QtIFW installers with CPack in the CMakeLists.txt file. 2021-03-10 15:03:02 +01:00
Username404-59 196f7b7065
Fix a few indentation typos in CMakeLists.txt. 2021-03-10 14:29:16 +01:00
Username404-59 6eb29bfa6f
Use the strong version of the -fstack-protector flag. 2021-03-09 22:29:46 +01:00
Username404-59 86090f1a7d
Don't use the -pthread option when MSVC is being used. 2021-03-09 21:32:38 +01:00
Username404-59 366a0f5065
Remove -fcf-protection in the CMakeLists.txt file; it does not work for arm architectures. 2021-03-09 20:49:10 +01:00
Username404-59 5484b9cf59
Add a few compilation flags for gnu and clang compilers. 2021-03-09 20:33:01 +01:00
Username404-59 80510909f1
Add a StandardComponents.hpp file. 2021-03-06 22:00:07 +01:00
Username404-59 8772be9d5c
Use a switch-case expression instead of an if statement in lexer.cpp. 2021-03-06 13:38:26 +01:00
Username404-59 d3d951d843
Revert "Simplify a if statement in lexer.cpp."
This reverts commit 42796ac54ccac44c8a2033ea39635ba44284c5d7.
2021-03-06 13:27:02 +01:00
Username404-59 c02f8bcc1a
Simplify a if statement in lexer.cpp. 2021-03-06 13:24:08 +01:00
Username404-59 11b92f7346
Make the argument of parseString a const reference. 2021-03-05 14:41:46 +01:00
Username404-59 915774cce3
Use https links instead of http ones in the README.md file. 2021-03-05 14:27:50 +01:00
Username404-59 2fe59c9c43
Update ParseCompnents.hpp. 2021-03-05 11:34:02 +01:00
Username404-59 24195f9a6c
Return a reference with the ParseTree::getComponents() method. 2021-03-04 15:59:06 +01:00
Username404-59 5972f0ef4c
Add a (definetly incomplete) ParseComponents.hpp file and move the extern declarations of main.cpp to misc.hpp. 2021-03-04 11:18:11 +01:00
Username404-59 f95d1c2497
Add the misc.hpp file to CMakeLists.txt. 2021-03-03 19:51:13 +01:00
Username404-59 6d2c23bb39
Add a misc.hpp file. 2021-03-03 19:47:25 +01:00
Username404-59 eb821b9f22
Fix scripts/postinst.sh. 2021-03-03 13:35:55 +01:00
Username404-59 4d8f09ee68
Use the right installation directories. 2021-03-03 13:24:16 +01:00
Username404-59 d42c0d4293
Lex identifiers and numbers instead of just strings, and use isdigit instead of isalphanum in lexer.cpp. 2021-03-02 21:51:59 +01:00
Username404-59 179d3813ab
Modify src/main.cpp a bit. 2021-03-02 12:22:56 +01:00
Username404-59 27ceae472b
Use a static libgcc on CLang too. 2021-03-01 20:42:06 +01:00
Username404-59 04fd22f12c
Use optimization flags on CLang too. 2021-03-01 20:19:16 +01:00
Username404-59 3b8fcb4409
Make the generation of source RPM packages possible. 2021-03-01 19:28:39 +01:00