How do I make CMake output into a ‘bin’ dir?

I’m currently constructing a project with a plugin structure. I’m using CMake to compile the project. The plugins are compiled in separate directories. My problem is that CMake compiles and saves the binaries and plugins, dynamic libraries, in the directory structure of the source. How do I make CMake save the files in something like a ./bin directory?

10 Answers
10

Leave a Comment