If you want to use a config.vapi file with your Vala project here are the basics.
- Setup your CMake files in your project. I use these.
- In your main CMakeLists.txt file you’ll need to add:
OPTIONS
--vapidir=${CMAKE_SOURCE_DIR}/vapi - Finally, you’ll need to, of course, create a
vapidirectory.
Sadly, during my first adventure in the Vala world it took me quite a while to figure that out. The kind of thing that makes you feel retarded.
Advertisement