2020-03-28 01:21:14 +00:00
|
|
|
project(QuantizerTool)
|
|
|
|
|
|
|
|
list(APPEND QuantizerTool_Src
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/QuantizerTool.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/QuantizerToolDlg.cpp
|
2020-04-11 12:46:09 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/StdAfx.cpp
|
2020-03-28 01:21:14 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND QuantizerTool_Inc
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/QuantizerTool.h
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/QuantizerToolDlg.h
|
2020-04-11 12:46:09 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/stdafx.h
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/resource.h
|
2020-03-28 01:21:14 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND QuantizerTool_Res
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/QuantizerTool.rc
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/res/QuantizerTool.ico
|
|
|
|
${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/res/QuantizerTool.rc2
|
|
|
|
)
|
|
|
|
|
|
|
|
add_common_options()
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} WIN32 ${QuantizerTool_Src} ${QuantizerTool_Inc} ${QuantizerTool_Res} )
|
|
|
|
|
|
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER Tools)
|
2020-04-11 12:46:09 +00:00
|
|
|
|
|
|
|
target_precompile_headers(${PROJECT_NAME} PUBLIC ${CMAKE_SOURCE_DIR}/Source/Tools/QuantizerTool/stdafx.h)
|