You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
Yes, that's exactly what I have found. The target_sources command can help by adding the sources to the consuming target, but it's not super nice in Visual Studio. What would have been cool is a target_sources with PRIVATE instead of INTERFACE, but it's not possible at the moment. I understand why, INTERFACE targets do not have a project created for them in Visual Studio, otherwise VS will complain that the project has nothing to build.
I left the sources list and this in comment. If a solution is ever found in CMake, it will be there. For now, it's not a big issue since it only affects the development experience on Visual Studio and probably XCode or some other IDEs. With CLion or with a basic text editor, the files are there.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ser4cpp/src/CMakeLists.txt
Line 24 in b8649f5
Looks like people have gone round and round on this issue w/ no resolution:
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/13636
The text was updated successfully, but these errors were encountered: