我在 xcode 上使用配置将源代码编译为 Objective-C++,但我添加了一个库,我想将其编译为 Objective-C,有办法吗?
我的配置:
//:configuration = Debug
CLANG_CXX_LIBRARY = libstdc++
//:configuration = Release
CLANG_CXX_LIBRARY = libstdc++
//:completeSettings = some
GCC_C_LANGUAGE_STANDARD
CLANG_CXX_LIBRARY
GCC_CW_ASM_SYNTAX
//:configuration = Debug
CLANG_CXX_LIBRARY = libstdc++
GCC_INPUT_FILETYPE = sourcecode.cpp.objcpp
//:configuration = Release
CLANG_CXX_LIBRARY = libstdc++
GCC_INPUT_FILETYPE = sourcecode.cpp.objcpp
//:completeSettings = some
GCC_C_LANGUAGE_STANDARD
CLANG_CXX_LIBRARY
GCC_CW_ASM_SYNTAX
GCC_INPUT_FILETYPE