Username404-59
d4df3aa4ea
Add boilerplate for semantic analysis
...
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
2024-08-07 03:05:55 +02:00
Username404-59
023af39a22
CMakeLists.txt: Support emscripten 3.1.58 SINGLE_FILE without a worker.js file
...
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
2024-05-10 03:29:12 +02:00
Username404-59
3d97955d41
CMakeLists.txt: Replace the deprecated vercel_pkg with yao_pkg
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2024-03-31 19:52:38 +02:00
Username404-59
5d43854e6d
CMakeLists.txt: Support emscripten 3.1.54 and higher
...
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
2024-03-27 20:54:50 +01:00
Username404
1a9b549f9b
CMakeLists.txt: Link OpenMP statically on Android
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-16 21:01:43 +02:00
Username404
8a7f556520
CMakeLists.txt: Allow PIE with UPX since it now seems to work with it
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-16 20:36:05 +02:00
Username404
ade66e8343
main.cpp: Add emscripten support to the "--output" argument
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-06-16 12:08:54 +02:00
Username404
97f87e6822
CMakeLists.txt: Always use the "-Oz" optimization flag on emscripten since it uses clang
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 15:23:24 +02:00
Username404
7c179ea072
CMakeLists.txt: Set DYNAMIC_EXECUTION to 0 on emscripten
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:56:02 +02:00
Username404
9210b92a1f
CMakeLists.txt: Always use the SIMPLE compilation level with closure
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:22:17 +02:00
Username404
8b86910998
CMakeLists.txt: Set MALLOC to 'emmalloc' on emscripten
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:09:35 +02:00
Username404
17a34315e8
CMakeLists.txt: Set DEMANGLE_SUPPORT to 1 on emscripten
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 23:18:17 +02:00
Username404
e35e30df96
CMakeLists.txt: Set STACK_SIZE to 8 megabytes on emscripten
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 12:13:40 +02:00
Username404
ad495c2e6e
CMakeLists.txt: Set DECLARE_ASM_MODULE_EXPORTS to 1 and PROXY_TO_PTHREAD to 0 in order to fix the unlimited creation of workers
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 01:53:22 +02:00
Username404
3ff5d67a72
CMakeLists.txt: Add a predefined pool of 3 web workers for emscripten
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-08 23:54:28 +02:00
Username404
375f10acb3
Re-enable EXIT_RUNTIME to replace emscripten_force_exit
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-02-11 03:23:32 +01:00
Username404
e3ae8da799
Yerbacon.hpp: Add a yerbacon_output variable to use in JavaScript
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-19 13:14:32 +01:00
Username404
dedb12470e
CMakeLists.txt: Disable EXIT_RUNTIME since it does not seem to work well on web browsers and is not really needed
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-19 02:10:37 +01:00
Username404
d1ebbda173
Mount the filesystem when running on node.js
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-04 13:50:27 +01:00
Username404
bf94b8c6eb
CMakeLists.txt: Add "-Wl,--gc-sections" to the linker flags for release builds
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-26 01:54:17 +01:00
Username404
17cc3fe0b1
CMakeLists.txt: Use -Oz when it is supported on GNU or Clang compilers
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-21 14:58:32 +01:00
Username404
782fdfdcb9
CMakeLists.txt: Disable OpenMP only when using a llvm-mingw toolchain
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 11:20:31 +01:00
Username404
8341096773
Revert "CMakeLists.txt: Don't link against OpenMP when using static linking"
...
This reverts commit 1469d92b
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 10:18:40 +01:00
Username404
022a0c6b62
CMakeLists.txt: Add a vercel_pkg CMake target to package the JavaScript output into executables for macOS when using emscripten and yarn (or npm)
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-07 22:59:10 +02:00
Username404
e7df484db0
CMakeLists.txt: Disable DECLARE_ASM_MODULE_EXPORTS on emscripten
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-06 16:23:18 +02:00
Username404
d4af5fecd9
CMakeLists.txt: Allow memory growth on emscripten
2022-09-30 08:12:41 +02:00
Username404
cb3e1b75ae
CMakeLists.txt: Disable SAFE_HEAP when using emscripten on Android
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-29 20:32:43 +02:00
Username404
8091d92933
CMakeLists.txt: Set CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE to YES when using a llvm-mingw toolchain
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 15:15:07 +02:00
Username404
62652ad9a4
CMakeLists.txt: Don't redefine CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE if it has already been defined
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 21:59:39 +02:00
Username404
d2a83a2f5e
CMakeLists.txt: Use ThinLTO instead of full LTO when Clang is present
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 21:33:48 +02:00
Username404
c55dbb25a6
CMakeLists.txt: Reintroduce CXX_TARGET
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404
ab2b666dd3
CMakeLists.txt: Improve CPACK_PACKAGE_FILE_NAME
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404
7846634165
CMakeLists.txt: Remove PNAME + CXX_TARGET, set CPACK_PACKAGE_FILE_NAME only once and let rpmbuild and the CPack Deb generator decide what file name to use
...
Jenkinsfile: Remove the buildTarget function's architecture-related parameters
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 02:31:26 +02:00
Username404
0fbe69ba91
Don't reuse CMAKE_EXE_LINKER_FLAGS_RELEASE when setting it to "-s"
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-23 19:18:48 +02:00
Username404
4795bd54a0
Parser.hpp: Replace the try-catch statement at line 152 with a condition since this seems to fix bad_cast not being caught when running a windows executable which has been compressed using upx
...
CMakeLists.txt: Revert the 89888113
commit and don't check CMAKE_CXX_LINK_NO_PIE_SUPPORTED when mingw is in use
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-20 13:35:01 +02:00
Username404
a98cd3e534
CMakeLists.txt: Set CMAKE_UNITY_BUILD to TRUE by default
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404
b8bb1181d1
CMakeLists.txt: Disable UPX when position-dependent executables are not supported by the compiler
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404
3e6b6f9560
CMakeLists.txt: Notify the user about position-independent code being unsupported only when it has been manually enabled
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404
fec8a2c4bd
CMakeLists.txt: Notify the user when CMAKE_POSITION_INDEPENDENT_CODE was defined on the command line although UPX is in use
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404
510e7a24f3
CMakeLists.txt: Don't set CMAKE_POSITION_INDEPENDENT_CODE to TRUE if it is already defined
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404
efe7d8ca57
CMakeLists.txt: Disable PIE when using UPX since executables seem to crash on some systems when it is enabled
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:07 +02:00
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
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