|
@ -10,8 +10,7 @@ if (NOT MSVC) |
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") |
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
set(FILES util.c |
|
|
set(FILES util.h |
|
|
util.h |
|
|
|
|
|
io.c |
|
|
io.c |
|
|
internal.c |
|
|
internal.c |
|
|
ethash.h |
|
|
ethash.h |
|
@ -21,7 +20,7 @@ set(FILES util.c |
|
|
data_sizes.h) |
|
|
data_sizes.h) |
|
|
|
|
|
|
|
|
if (MSVC) |
|
|
if (MSVC) |
|
|
list(APPEND FILES io_win32.c mmap_win32.c) |
|
|
list(APPEND FILES util.c io_win32.c mmap_win32.c) |
|
|
else() |
|
|
else() |
|
|
list(APPEND FILES io_posix.c) |
|
|
list(APPEND FILES io_posix.c) |
|
|
endif() |
|
|
endif() |
|
|