summaryrefslogtreecommitdiff
path: root/windows/CMakeLists.txt
blob: ed592114c2f2df1d0b39e122242c8082103d5e63 (plain)
1
2
3
4
5
6
7
8

add_executable(testc_windows testc.c)
target_link_libraries(testc_windows onig)
if(NOT MSVC)
  target_compile_options(testc_windows
    PRIVATE -finput-charset=cp932 -fexec-charset=cp932
  )
endif(NOT MSVC)