Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mlz
kww
Commits
130127e8
Commit
130127e8
authored
Dec 17, 2019
by
Wuttke, Joachim
Browse files
set(WINDOWS_EXPORT_ALL_SYMBOLS ON)
parent
69f8a5f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
130127e8
...
...
@@ -22,6 +22,10 @@ set(CMAKE_C_STANDARD 99)
if
(
MSVC
)
message
(
FATAL_ERROR
"kww must not be compiled with MSVC because it needs 80 bits long doubles"
)
endif
()
if
(
WIN32
)
set
(
WINDOWS_EXPORT_ALL_SYMBOLS ON
)
message
(
STATUS
"compiling for Windows"
)
endif
()
add_compile_options
(
-O2
)
if
(
PEDANTIC
)
add_compile_options
(
-pedantic -Wall
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment