Is there something equivalent to qmake -project that will automatically create a CMake project from a directory of source and header files?
Ideally, this should work recursively.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, but it’s an easy project to set up:
Assuming you are making an executable.
add_libraryshould be used if you are making a library. And just change the paths if your project things in subdirectories likesrcandinclude.