no message

This commit is contained in:
Vadim Grigoruk 2018-05-21 15:58:52 +03:00
parent 76ed3a342a
commit 7a1d07ba95
2 changed files with 1 additions and 11 deletions

View File

@ -334,19 +334,9 @@ if(APPLE)
endif() endif()
if(WIN32) if(WIN32)
add_executable(tic80 WIN32 ${TIC80_SRC} build/windows/tic/tic80.rc)
# add version and icon
set(TIC80_RES_SRC ${CMAKE_CURRENT_SOURCE_DIR}/build/windows/tic/tic80.rc)
set(TIC80_RES ${CMAKE_CURRENT_BINARY_DIR}/tic80res.obj)
add_custom_command(OUTPUT ${TIC80_RES}
COMMAND windres -i ${TIC80_RES_SRC} -o ${TIC80_RES})
add_executable(tic80 WIN32 ${TIC80_SRC} ${TIC80_RES})
else() else()
add_executable(tic80 ${TIC80_SRC}) add_executable(tic80 ${TIC80_SRC})
endif() endif()
target_include_directories(tic80 PRIVATE include) target_include_directories(tic80 PRIVATE include)

Binary file not shown.