STM32 generic CPU with SPL

I use genericSTM32F103VE with SPL library, but I get Error: This board doesn’t support spl framework!
How to setup / compile / debug project (ST Link v2) if I have included external SPL and CMSIS libraries from STM in lib directory? Or I not want use predefined STM boards… It is possible?
I trying everthing, but I always get some errors about included header files. If I fix 1 error, will get another.