mirror of
https://github.com/apple/foundationdb.git
synced 2025-04-20 04:34:30 +08:00
dmcs was noted as deprecated in its startup message script many years ago (2016), and dmcs itself was *actually* deprecated even years before that -- 'dmcs' itself only executes 'mcs' with the .NET 4.0 SDK enabled anyway. Since CMake will be the new primary build system, let's go ahead and drop support for dmcs entirely in this setup. Signed-off-by: Austin Seipp <aseipp@pobox.com>
18 lines
480 B
CMake
18 lines
480 B
CMake
if(WIN32)
|
|
# C# is currently only supported on Windows.
|
|
# On other platforms we find mono manually
|
|
enable_language(CSharp)
|
|
else()
|
|
# for other platforms we currently use mono
|
|
|
|
find_program(MONO_EXECUTABLE mono)
|
|
if (NOT MONO_EXECUTABLE)
|
|
message(FATAL_ERROR "Could not find 'mono' executable!")
|
|
endif()
|
|
|
|
find_program(MCS_EXECUTABLE mcs)
|
|
if (NOT MCS_EXECUTABLE)
|
|
message(FATAL_ERROR "Could not find 'mcs' executable, which is part of Mono!")
|
|
endif()
|
|
endif()
|