Skip to content

Commit

Permalink
delete compat/WinMain.c
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Nov 5, 2023
1 parent ac883fc commit bdff777
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ add_executable(notepad WIN32
printing.c
settings.c
text.c
rsrc.rc
compat/WinMain.c)
rsrc.rc)

target_compile_definitions(notepad PRIVATE
UNICODE _UNICODE _CRT_SECURE_NO_WARNINGS
Expand Down Expand Up @@ -80,6 +79,10 @@ target_compile_definitions(notepad PRIVATE
LANGUAGE_ZH_HK
LANGUAGE_ZH_TW)

if (NOT MSVC)
target_link_options(notepad BEFORE PRIVATE -municode)
endif()

target_include_directories(notepad PRIVATE ./ reactos/)
target_link_libraries(notepad PRIVATE user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)

Expand Down
23 changes: 0 additions & 23 deletions compat/WinMain.c

This file was deleted.

0 comments on commit bdff777

Please sign in to comment.