mirror of https://github.com/AxioDL/metaforce.git
bintoc now uses .cpp sources for .pch uniformity
This commit is contained in:
parent
91b40460fd
commit
4f888becdf
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue