Commit Graph

260 Commits

Author SHA1 Message Date
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 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 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 4d8f09ee68
Use the right installation directories. 2021-03-03 13:24:16 +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
Username404-59 daeb558504
Add a changelog.txt file and set the CPACK_RPM_BUILDREQUIRES in the CMakeLists.txt file. 2021-03-01 19:01:15 +01:00
Username404-59 b8df9df2e9
Set the debian package dependencies manually. 2021-03-01 12:18:56 +01:00
Username404-59 82f65e5da5
Revert "Don't overwrite the existing flags when a GNU compiler is used."
This reverts commit 101104872a36f9cead85b880e3f838259e80b778.
2021-03-01 12:03:25 +01:00
Username404-59 2f09a44521
Don't overwrite the existing flags when a GNU compiler is used. 2021-03-01 12:02:56 +01:00
Username404-59 ab71c08085
Change the structure of installation directories, and move the completion scripts. 2021-02-28 19:30:52 +01:00
Username404-59 76057e34ab
Rename the ybcon.sh script to ybcon, and put it in a different install directory. 2021-02-28 18:14:56 +01:00
Username404-59 ca92d6821e
Use a static libgcc when a GNU compiler is being used for building. 2021-02-28 12:37:25 +01:00
Username404-59 77b81c8481
Set CPACK_STRIP_FILES to TRUE in the CMakeLists.txt file. 2021-02-28 12:01:53 +01:00
Username404-59 85dc6d7675
Add basic (and incomplete) zsh completions with scripts/zsh-completion.zsh. 2021-02-27 22:17:03 +01:00
Username404-59 41dedff221
Use lzma compression for deb packages too. 2021-02-27 14:42:05 +01:00
Username404-59 3fec653cea
Compress rpm packages with lzma. 2021-02-27 14:40:52 +01:00
Username404-59 d421ef0cb6
Set CPACK_RPM_PACKAGE_RELEASE_DIST to ON in the CMakeLists.txt file. 2021-02-27 12:07:07 +01:00
Username404-59 a427010099
Complete scripts/fish-completion.fish, improve scripts/ybcon.sh and add a --version argument. 2021-02-26 20:28:53 +01:00
Username404-59 528d1eb36e
Show warnings on all compilers. 2021-02-26 18:51:38 +01:00
Username404-59 ad2fcfd746
Add stack protection flags in the CMakeLists.txt file (only for the GNU and Clang compilers). 2021-02-26 18:05:22 +01:00
Username404-59 580500ada9
Update README.md and begin adding a fish shell autocompletion script. 2021-02-26 14:22:29 +01:00
Username404-59 7ccb83dfce
[ci skip] Add a work-in-progress bash-completion shell script. 2021-02-25 22:05:05 +01:00
Username404-59 15439d8b3e
Prioritize RPM packages in CMakeLists.txt. 2021-02-25 18:55:40 +01:00
Username404-59 69a50e1e79
Add a postinstall script for the linux packages, permit the use of -p instead of -printresult for the ybcon arguments, and change the installation directory to /opt/bin. 2021-02-25 17:59:18 +01:00
Username404-59 39af980e0a
Add the timestamp to CPACK_PACKAGE_FILE_NAME in the CMakeLists.txt file. 2021-02-19 16:25:10 +01:00
git 3eddc72c85
Edit CPACK_PACKAGE_DESCRIPTION_SUMMARY. 2021-02-15 19:14:35 +01:00
git 20ddcd39b0
Revert the two previous commits. 2021-02-14 14:18:18 +01:00
git 5279c2f356
Add the build's architecture to CPACK_PACKAGE_FILE_NAME in the CMakeLists.txt file. 2021-02-14 14:10:43 +01:00
git b0e14d4be7
Build tar.gz packages for arm linux devices. 2021-02-14 13:54:14 +01:00
git 2bce6a2143
Strip the produced binaries and files. 2021-02-14 12:57:42 +01:00
git a3a71733e4
Set CPACK_VERBATIM_VARIABLES to true in the CMakeLists.txt file. 2021-02-14 10:38:48 +01:00
git cb657ad455
Add the MPL to rpm packages, and add the build's timestamp to the release variable for rpm packages. 2021-02-14 10:24:13 +01:00
Username404-59 f339217a2f
Set the CMake project's language to C++. 2021-02-14 02:47:46 +01:00
git 3355ed9201
Make sure that the dependencies will be added to the RPM package. 2021-02-13 22:36:21 +01:00
git 0a6e4fe573
Add the build's timestamp to CPACK_PACKAGE_VERSION in the CMakeLists.txt file. 2021-02-13 22:33:59 +01:00
Username404 0f6f9b0c30
Request permissions inside the NSIS installer by setting RequestExecutionLevel to "highest" instead of "user". 2021-02-12 21:45:49 +01:00
Username404 9866d7c456
Don't require admin permissions for the NSIS installer. 2021-02-12 21:35:36 +01:00
username404 34c3cfb041
Hidden git history due to a license change. 2021-02-12 15:07:03 +01:00
username404 42215fb3e6
Initial commit 2020-12-11 22:24:44 +01:00