Add 'client' global target
nemerle opened this issue · comments
Artur K. commented
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_definition
etc. calls in CMake with propertarget_compile_definitions
etc in set_common_target_properties. - make
set_common_target_properties
understand the global target context it's called in, and make it retrieve proper target defines and set them on the sub-target.
Artur K. commented
I've done some work on separating things a bit into editor
, server
, client
builds, still not happy with the way they are entangled.