bintoc now uses .cpp sources for .pch uniformity

This commit is contained in:
Jack Andersen 2017-12-28 22:04:44 -10:00
parent 91b40460fd
commit 4f888becdf
2 changed files with 2 additions and 2 deletions
hecl-gui
CMakeLists.txt
platforms/freedesktop

View File

@ -23,7 +23,7 @@ endif()
add_subdirectory(platforms/freedesktop) add_subdirectory(platforms/freedesktop)
declare_qticon_target() declare_qticon_target()
list(APPEND PLAT_SRCS mainicon_qt.c) list(APPEND PLAT_SRCS mainicon_qt.cpp)
add_executable(hecl-gui WIN32 MACOSX_BUNDLE add_executable(hecl-gui WIN32 MACOSX_BUNDLE
MainWindow.ui MainWindow.hpp MainWindow.cpp MainWindow.ui MainWindow.hpp MainWindow.cpp

View File

@ -14,5 +14,5 @@ add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/hecl-gui/platforms/freedesktop/mai
${CMAKE_SOURCE_DIR}/hecl-gui/platforms/freedesktop/16x16/apps/hecl.png ${CMAKE_SOURCE_DIR}/hecl-gui/platforms/freedesktop/16x16/apps/hecl.png
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/hecl-gui/platforms/freedesktop WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/hecl-gui/platforms/freedesktop
COMMENT "Generating mainicon_qt.bin") COMMENT "Generating mainicon_qt.bin")
bintoc(mainicon_qt.c ${CMAKE_BINARY_DIR}/hecl-gui/platforms/freedesktop/mainicon_qt.bin MAINICON_QT) bintoc(mainicon_qt.cpp ${CMAKE_BINARY_DIR}/hecl-gui/platforms/freedesktop/mainicon_qt.bin MAINICON_QT)
endmacro() endmacro()