1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/cmake/toolchain-macos.cmake
2017-11-26 13:54:07 +08:00

20 lines
1.1 KiB
CMake

SET(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_C_COMPILER "C:/Users/Administrator/Qt/Tools/mingw530_32/bin/gcc.exe")
set(CMAKE_CXX_COMPILER "C:/Users/Administrator/Qt/Tools/mingw530_32/bin/g++.exe")
set(CMAKE_RC_COMPILER "C:/Users/Administrator/Qt/Tools/mingw530_32/bin/windres.exe")
set(CMAKE_MAKE_PROGRAM "C:/Users/Administrator/Qt/Tools/mingw530_32/bin/mingw32-make.exe")
SET(CMAKE_FIND_ROOT_PATH "C:/Users/Administrator/Qt/Tools/mingw530_32")
set(CMAKE_C_FLAGS "-g -Wall -O3 -m32")
set(CMAKE_CXX_FLAGS "-g -Wall -O3 -m32")
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(QT_MOC_EXECUTABLE "C:/Users/Administrator/Qt/5.9.1/mingw53_32/bin/rcc.exe" CACHE INTERNAL "" FORCE)
set(QT_MOC_EXECUTABLE "C:/Users/Administrator/Qt/5.9.1/mingw53_32/bin/moc.exe" CACHE INTERNAL "" FORCE)
set(QT_UIC_EXECUTABLE "C:/Users/Administrator/Qt/5.9.1/mingw53_32/bin/uic.exe" CACHE INTERNAL "" FORCE)
set(QT_QMAKE_EXECUTABLE "C:/Users/Administrator/Qt/5.9.1/mingw53_32/bin/qmake.exe" CACHE INTERNAL "" FORCE)