-
Notifications
You must be signed in to change notification settings - Fork 172
Support os.Worker on Windows #1003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a74a6fa
355ec42
84c3424
13735bb
50a8b2d
028c408
df08b41
a458bc9
daea2da
e91ac8a
4dc62dd
7323cc1
4c25d7d
bac261c
ee3dd0e
e844772
a689d9e
195c511
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,17 @@ set(CMAKE_C_STANDARD_REQUIRED ON) | |
set(CMAKE_C_EXTENSIONS ON) | ||
set(CMAKE_C_STANDARD 11) | ||
|
||
# MINGW doesn't exist in older cmake versions, newer versions don't know | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, do you know what versions those are? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I didn't mess up my notes: 3.22.1-1ubuntu1 (old), 3.31.6 (new) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good to know! |
||
# about CMAKE_COMPILER_IS_MINGW, and there is no unique CMAKE_C_COMPILER_ID | ||
# for mingw-based compilers... | ||
if(MINGW) | ||
# do nothing | ||
elseif(CMAKE_C_COMPILER MATCHES "mingw") | ||
set(MINGW TRUE) | ||
else() | ||
set(MINGW FALSE) | ||
endif() | ||
|
||
if(NOT CMAKE_BUILD_TYPE) | ||
message(STATUS "No build type selected, default to Release") | ||
set(CMAKE_BUILD_TYPE "Release") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you mention the requirement of atomics in https://quickjs-ng.github.io/quickjs/supported_platforms ?