SegsEngine
SegsEngine copied to clipboard
Add 'client' global target
Right now the only global target defined by the cmake is the editor. Adding a new global target will not be problematic, but the number of variables that are set globally makes it hard to properly configure such a target.
Small TODO:
- Replace all global
add_definitionetc. calls in CMake with propertarget_compile_definitionsetc in set_common_target_properties. - make
set_common_target_propertiesunderstand the global target context it's called in, and make it retrieve proper target defines and set them on the sub-target.
I've done some work on separating things a bit into editor, server, client builds, still not happy with the way they are entangled.