Implement DO_WORLDSERVER and DO_AUTHSERVER options for cmake, both enabled by default
Needs more work to split shared/ and so on but it works --HG-- branch : trunk
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
add_subdirectory(shared)
|
||||
add_subdirectory(game)
|
||||
add_subdirectory(collision)
|
||||
if (DO_SCRIPTS)
|
||||
add_subdirectory(scripts)
|
||||
endif (DO_SCRIPTS)
|
||||
add_subdirectory(authserver)
|
||||
add_subdirectory(worldserver)
|
||||
if (DO_AUTHSERVER)
|
||||
add_subdirectory(authserver)
|
||||
endif(DO_AUTHSERVER)
|
||||
if(DO_WORLDSERVER)
|
||||
add_subdirectory(game)
|
||||
add_subdirectory(collision)
|
||||
if(DO_SCRIPTS)
|
||||
add_subdirectory(scripts)
|
||||
endif(DO_SCRIPTS)
|
||||
add_subdirectory(worldserver)
|
||||
else(DO_WORLDSERVER)
|
||||
if(DO_TOOLS)
|
||||
add_subdirectory(collision)
|
||||
endif(DO_TOOLS)
|
||||
endif(DO_WORLDSERVER)
|
||||
|
||||
Reference in New Issue
Block a user