-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ilu
committed
Nov 16, 2024
1 parent
cdc7c7f
commit a35b1d1
Showing
9,134 changed files
with
1,502,189 additions
and
610,910 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
set(CMAKE_SYSTEM_NAME Generic) | ||
set(CMAKE_SYSTEM_PROCESSOR x86) | ||
|
||
# Without that flag CMake is not able to pass test compilation check | ||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) | ||
|
||
set(CMAKE_AR i586-pc-msdosdjgpp-ar${CMAKE_EXECUTABLE_SUFFIX}) | ||
set(CMAKE_ASM_COMPILER i586-pc-msdosdjgpp-gcc${CMAKE_EXECUTABLE_SUFFIX}) | ||
set(CMAKE_C_COMPILER i586-pc-msdosdjgpp-gcc${CMAKE_EXECUTABLE_SUFFIX}) | ||
set(CMAKE_CXX_COMPILER i586-pc-msdosdjgpp-g++${CMAKE_EXECUTABLE_SUFFIX}) | ||
set(CMAKE_LINKER i586-pc-msdosdjgpp-ld${CMAKE_EXECUTABLE_SUFFIX}) | ||
set(CMAKE_OBJCOPY i586-pc-msdosdjgpp-objcopy${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "") | ||
set(CMAKE_RANLIB i586-pc-msdosdjgpp-ranlib${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "") | ||
set(CMAKE_SIZE i586-pc-msdosdjgpp-size${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "") | ||
set(CMAKE_STRIP i586-pc-msdosdjgpp-strip${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "") | ||
|
||
#set(CMAKE_C_FLAGS "-MMD -Wall -std=gnu99 -march=i386 -mtune=i586 -ffast-math -fomit-frame-pointer -fgnu89-inline -Wmissing-prototypes" CACHE INTERNAL "") | ||
#set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions" CACHE INTERNAL "") | ||
|
||
#set(CMAKE_C_FLAGS_DEBUG "-O0 -DDEBUG_ENABLED -g" CACHE INTERNAL "") | ||
#set(CMAKE_C_FLAGS_RELEASE "-Os -DNDEBUG" CACHE INTERNAL "") | ||
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE INTERNAL "") | ||
#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE INTERNAL "") | ||
|
||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
set(CMAKE_SYSTEM_NAME Generic) | ||
set(CMAKE_SYSTEM_PROCESSOR x86) | ||
set(TOOLCHAIN_PREFIX "i486-w64-mingw32") | ||
|
||
# Without that flag CMake is not able to pass test compilation check | ||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) | ||
|
||
set(CMAKE_AR "${TOOLCHAIN_PREFIX}-ar${CMAKE_EXECUTABLE_SUFFIX}") | ||
set(CMAKE_ASM_COMPILER "${TOOLCHAIN_PREFIX}-gcc${CMAKE_EXECUTABLE_SUFFIX}") | ||
set(CMAKE_C_COMPILER "${TOOLCHAIN_PREFIX}-gcc${CMAKE_EXECUTABLE_SUFFIX}") | ||
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_PREFIX}-g++${CMAKE_EXECUTABLE_SUFFIX}") | ||
set(CMAKE_LINKER "${TOOLCHAIN_PREFIX}-ld${CMAKE_EXECUTABLE_SUFFIX}") | ||
set(CMAKE_OBJCOPY "${TOOLCHAIN_PREFIX}-objcopy${CMAKE_EXECUTABLE_SUFFIX}" CACHE INTERNAL "") | ||
set(CMAKE_RANLIB "${TOOLCHAIN_PREFIX}-ranlib${CMAKE_EXECUTABLE_SUFFIX}" CACHE INTERNAL "") | ||
set(CMAKE_SIZE "${TOOLCHAIN_PREFIX}-size${CMAKE_EXECUTABLE_SUFFIX}" CACHE INTERNAL "") | ||
set(CMAKE_STRIP "${TOOLCHAIN_PREFIX}-strip${CMAKE_EXECUTABLE_SUFFIX}" CACHE INTERNAL "") | ||
|
||
set(CMAKE_FIND_ROOT_PATH "$ENV{MINGWDIR}") | ||
|
||
#set(CMAKE_C_FLAGS "-MMD -Wall -std=gnu99 -march=i486 -mtune=i586 -ffast-math -fomit-frame-pointer -fgnu89-inline -Wmissing-prototypes" CACHE INTERNAL "") | ||
#set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions" CACHE INTERNAL "") | ||
|
||
#set(CMAKE_C_FLAGS_DEBUG "-O0 -DDEBUG_ENABLED -g" CACHE INTERNAL "") | ||
#set(CMAKE_C_FLAGS_RELEASE "-Os -DNDEBUG" CACHE INTERNAL "") | ||
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" CACHE INTERNAL "") | ||
#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE INTERNAL "") | ||
|
||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.