mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
[project] syncs CMake and shell build options for macOS file watcher
GitOrigin-RevId: 4d197f5a3e9c67b3c282cfbc63a2a7fe28c50801
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2da40b2b73
commit
d3289e9d96
@@ -5,7 +5,9 @@ if(NOT APPLE)
|
|||||||
message(FATAL_ERROR "macOS only.")
|
message(FATAL_ERROR "macOS only.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_C_FLAGS "-O2 -Wall -Wextra -Wpedantic -Wno-newline-eof")
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.8)
|
||||||
|
|
||||||
find_library(CORE_SERVICES CoreServices)
|
find_library(CORE_SERVICES CoreServices)
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
clang -arch x86_64 -mmacosx-version-min=10.8 -framework CoreServices -o fsnotifier fsnotifier.c
|
C_FLAGS="-std=c11 -O2 -Wall -Wextra -Wpedantic -Wno-newline-eof"
|
||||||
|
|
||||||
|
clang -arch x86_64 -mmacosx-version-min=10.8 -framework CoreServices -std=c11 $C_FLAGS -o fsnotifier fsnotifier.c
|
||||||
Reference in New Issue
Block a user