While compiling Swift on Mac machine, there is a dynamic library libswiftDemangle.dylib
created. I need the dynamic library created on Linux machine as well, however, the dynamic library isn't created after a compilation of a source code.
The file CMakeLists.txt
at lib/SwiftDemangle/CMakeLists.txt
contains:
add_swift_library(swiftDemangle SHARED
SwiftDemangle.cpp
MangleHack.cpp
LINK_LIBRARIES swiftBasic)
directive, however the library isn't created.
I use this command ./swift/utils/build-script -R -c --build-subdir build --install-prefix /mnt/servers/swift/install -j4
to build the project, eventually it runs cmake
and ninja
to build the project.
Any ideas?