How to only build a static library with clion without having an executable?
How does the CMakeLists.txt look like? (without add_executable
)
Update: If I don't add executable to Clion, I have an error, that an executable is required.
Here my CMakeLists.txt.