Segs / SegsEngine

The engine that will become the basis for client/editor/server components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add 'client' global target

nemerle opened this issue · comments

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:

  1. Replace all global add_definition etc. calls in CMake with proper target_compile_definitions etc in set_common_target_properties.
  2. 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.

I've done some work on separating things a bit into editor, server, client builds, still not happy with the way they are entangled.