From a751e7ba146eee3694169b8087306c93732689e6 Mon Sep 17 00:00:00 2001 From: flaviojs Date: Fri, 22 Jul 2011 14:54:37 +0000 Subject: * CMake: Added options BUILD_TXT_SERVERS, BUILD_SQL_SERVERS, BUILD_MAPCACHE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14921 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4233bcb12..7ec05e405 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,23 @@ +# +# setup and static libraries +# add_subdirectory( common ) +if( HAVE_common_base ) + option( BUILD_TXT_SERVERS "build txt server executables" ON ) +else() + message( STATUS "Disabled txt server targets (requires common_base)" ) +endif() +if( HAVE_common_sql ) + option( BUILD_SQL_SERVERS "build sql server executables" ON ) +else() + message( STATUS "Disabled sql server targets (requires common_sql)" ) +endif() + + +# +# targets +# add_subdirectory( login ) add_subdirectory( char ) add_subdirectory( char_sql ) -- cgit v1.2.3-70-g09d2