Skip to content

Commit

Permalink
[build] Enable edit and continue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovasa committed Jun 28, 2022
1 parent ed602d1 commit 156ccbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ set(CLI_SOURCES "src/encmain.c" "src/cli.c" "src/cli.h" "src/yuv_io.c" "src/yuv_
# Add the getopt and pthread for visual studio
if(MSVC)
list(APPEND CLI_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/extras/getopt.c ${CMAKE_CURRENT_SOURCE_DIR}/src/threadwrapper/src/pthread.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/threadwrapper/src/semaphore.cpp)

target_compile_options(uvg266 PUBLIC "/ZI")
target_link_options(uvg266 PUBLIC "/INCREMENTAL")
endif()

add_executable(uvg266-bin ${CLI_SOURCES})
Expand Down

0 comments on commit 156ccbe

Please sign in to comment.