Skip to content

Commit 4b47368

Browse files
authored
Merge pull request #530 from lynxluna/feature/watcom-support
Add Support For WATCOM compiler flags
2 parents 5108f12 + ade13cf commit 4b47368

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ endif()
4646
# We only differentiate between MSVC and GCC-compatible compilers
4747
if(MSVC)
4848
set(LTM_C_FLAGS -W3)
49+
elseif(WATCOM)
50+
set(LTM_C_FLAGS -fo=.obj -oaxt -3r -w3)
4951
else()
5052
set(LTM_C_FLAGS -Wall -Wsign-compare -Wextra -Wshadow
5153
-Wdeclaration-after-statement -Wbad-function-cast -Wcast-align

0 commit comments

Comments
 (0)