As seen in a previous post, working with nRF52 and Eclipse is not the easiest challenge !
This post will detail how to create a template project for a BLE project using a softdevice working on the PCA10040 board and using my ble library.
This can be apply to most of ble starting project with nRF52. I assume you configured Eclipse IDE as described in this post. As a pre-requisite you also need git. The tutorial works with SDK 12.3