mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
Merge branch 'master' of https://github.com/fluxer/katie
This commit is contained in:
commit
8cb3f33841
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
# use like this: cmake . -DCMAKE_TOOLCHAIN_FILE=cmake/win32-mingw.cmake
|
# use like this: cmake . -DCMAKE_TOOLCHAIN_FILE=cmake/win32-mingw.cmake
|
||||||
|
|
||||||
set(mingwroot "C:/MinGW")
|
set(mingwroot "C:/MinGW")
|
||||||
|
set(gnuwin32root "C:/Program Files/GnuWin32")
|
||||||
|
|
||||||
# which compilers to use for C and C++
|
# which compilers to use for C and C++
|
||||||
set(CMAKE_C_COMPILER ${mingwroot}/bin/gcc.exe)
|
set(CMAKE_C_COMPILER ${mingwroot}/bin/gcc.exe)
|
||||||
|
@ -8,7 +9,10 @@ set(CMAKE_CXX_COMPILER ${mingwroot}/bin/g++.exe)
|
||||||
set(CMAKE_RC_COMPILER ${mingwroot}/bin/windres.exe)
|
set(CMAKE_RC_COMPILER ${mingwroot}/bin/windres.exe)
|
||||||
|
|
||||||
# here is the target environment located
|
# here is the target environment located
|
||||||
set(CMAKE_FIND_ROOT_PATH ${mingwroot})
|
set(CMAKE_FIND_ROOT_PATH "${mingwroot}" "${gnuwin32root}")
|
||||||
|
# ensure that libraries and headers from MinGW and GnuWin32 can be found
|
||||||
|
set(CMAKE_LIBRARY_PATH "${CMAKE_LIBRARY_PATH}" "${mingwroot}/bin" "${gnuwin32root}/bin")
|
||||||
|
set(CMAKE_INCLUDE_PATH "${CMAKE_INCLUDE_PATH}" "${mingwroot}/include" "${gnuwin32root}/include")
|
||||||
|
|
||||||
# adjust the default behaviour of the FIND_XXX() commands:
|
# adjust the default behaviour of the FIND_XXX() commands:
|
||||||
# search headers and libraries in the target environment, search
|
# search headers and libraries in the target environment, search
|
||||||
|
|
Loading…
Add table
Reference in a new issue