Using custom folder structure

Hello,

I want to build a GUI around an OpenGL application I have been working on and JUCE is the perfect library for this. However, I have become accustomed to working with a personalized folder structure using vim as my ‘IDE’ and I would really like to keep it that way. Is it possible to set up a JUCE project with custom folders structure and makefile? I tried for a little bit but got a “this_will_fail_to_link_if_some_of_your_compile_units_are_built_in_release_mode” error. Is there an easy way to do this? Or is JUCE really not designed to be used without Projucer?

Thanks for your help!

It’s certainly possible to do this.

Start by generating a Makefile project and work backwards - look at the compiler flags used (both debug and release), the preprocessor variables and AppConfig.h. Copying these to your own system shouldn’t be too hard.

Have a look here, https://github.com/WeAreROLI/BLOCKS-SDK, for inspiration. There are Makefiles for compiling JUCE into a static library and linking against it.

Thank you! I got it to work using that makefile