Source tree restructuring

This commit is contained in:
Lubos Dolezel 2015-10-24 22:32:20 +02:00
parent 83b00d37b3
commit 83003cdab2

View File

@ -10,7 +10,7 @@ set(CMAKE_C_FLAGS "-std=gnu99 ${CMAKE_C_FLAGS}")
# Darling: extras
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc")
set(CMAKE_SHARED_LINKER_FLAGS "-nostdlib")
set(CMAKE_SHARED_LINKER_FLAGS "-nostdlib -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../libcxxabi/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../include)
@ -18,7 +18,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../libc/locale)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../libc/locale/FreeBSD)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../libc/stdtime/FreeBSD)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../libc/pthreads)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../platform-include)
include_directories(${DARLING_TOP_DIRECTORY}/platform-include)
set(libobjc_VERSION 4.6)