I am trying to build a simple project in CLion 2016.1, Swift plugin.
I followed instructions here http://blog.jetbrains.com/clion/2015/12/swift-plugin-for-clion/ and https://youtrack.jetbrains.com/issue/CPP-5326
When I try to build the CLion project, it gives me:
error: no Package.swift file found
Since CLion uses Swift build system I had to set up a Swift package like described here: https://swift.org/getting-started/#using-the-build-system
The structure must be the following:
- Package.swift - Sources - - - main.swift
swift build worked as expected.