1
0
forked from GitHub/gf-core

more changes to make the C runtime compilable with MSVC

This commit is contained in:
krasimir
2017-04-19 18:59:42 +00:00
parent 2bdfd27173
commit 1bfeab104c
10 changed files with 41 additions and 32 deletions

View File

@@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 2.8)
set(GNU_LIGHTNING_ARCH "i386" CACHE STRING "Target architecture for GNU Lightning JIT")
#set(ADD_CFLAGS "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-value" CACHE STRING "Additional C compiler options")
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
#set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-no-undefined")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 ${ADD_CFLAGS}")