1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-13 08:50:24 +08:00

fix on windows

This commit is contained in:
fumiama
2021-12-12 00:49:12 +08:00
parent eeea555ad9
commit 9589f8d578
4 changed files with 58 additions and 7 deletions

View File

@@ -4,6 +4,12 @@ SET(CMAKE_BUILD_TYPE "Release")
add_executable(base16384 base16384.c)
include(TestBigEndian)
test_big_endian(isBigEndian)
if (${isBigEndian})
add_definitions(-DWORDS_BIGENDIAN)
endif()
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_definitions("-DCPUBIT64")
add_subdirectory("./64")