C++ CMake (add non-built files)

You should be able to just add them to your list of sources in whichever add_executable or add_library call is appropriate and they will appear in the IDE.

I believe CMake uses the files’ extensions to determine if they are actual source files, so if yours have extensions like “.txt” or “.log” they won’t be compiled.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)