mirror of
https://github.com/darlinghq/darling-less.git
synced 2024-11-26 21:30:22 +00:00
Mach-O build
This commit is contained in:
parent
905290e619
commit
055316c1d0
@ -17,19 +17,17 @@ add_definitions(
|
||||
)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -U_POSIX_C_SOURCE -D__DARWIN_UNIX03 -nostdinc -fblocks -fPIC -ggdb -O0")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
#set(CMAKE_SHARED_LINKER_FLAGS "-nodefaultlibs -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/libc/include/FreeBSD)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/libc/include/NetBSD)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/libc/gen)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/libc/darwin)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/libc/stdtime/FreeBSD)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/launchd/liblaunch)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/external/libdispatch)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/external/zlib)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/external/bzip2)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/ncurses/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/libc/include/FreeBSD)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/libc/include/NetBSD)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/libc/gen)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/libc/darwin)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/libc/stdtime/FreeBSD)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/launchd/liblaunch)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/external/libdispatch)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/external/zlib)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/external/bzip2)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/ncurses/include)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
include(InstallSymlink)
|
||||
|
Loading…
Reference in New Issue
Block a user