diff options
author | click <none@none> | 2010-09-19 18:17:53 +0200 |
---|---|---|
committer | click <none@none> | 2010-09-19 18:17:53 +0200 |
commit | 58dafd94e23e88407e73416b5093800baf7d190b (patch) | |
tree | 19863cbcad9906caca0864f6fc3781a573c93d68 /cmake/platform/win/settings.cmake | |
parent | 54212cf387662a3b3ca694b466368162b416bd42 (diff) |
BuildSystem/Platforms: Move platform-specific settings into respective directories, consistent with what is done with compilers.
BuildSystem/GCC: Add some additional parameters when using SFMT
--HG--
branch : trunk
Diffstat (limited to 'cmake/platform/win/settings.cmake')
-rw-r--r-- | cmake/platform/win/settings.cmake | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cmake/platform/win/settings.cmake b/cmake/platform/win/settings.cmake new file mode 100644 index 00000000000..b66eb2da7bb --- /dev/null +++ b/cmake/platform/win/settings.cmake @@ -0,0 +1,28 @@ +# Platform-specfic options +option(USE_MYSQL_SOURCES "Use included MySQL-sources to build libraries" 1) + +# Package overloads +set(ACE_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/dep/acelite) +set(ACE_LIBRARY "ace") +set(BZIP2_LIBRARIES "bzip2") +set(ZLIB_LIBRARIES "zlib") + +if( USE_MYSQL_SOURCES ) + set(MYSQL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/dep/mysqllite/include) + set(MYSQL_LIBRARY "libmysql") + set( MYSQL_FOUND 1 ) + message(STATUS "Using supplied MySQL sources") +endif() + +# check the CMake preload parameters (commented out by default) + +# overload CMAKE_INSTALL_PREFIX if not being set properly +#if( WIN32 ) +# if( NOT CYGWIN ) +# if( NOT CMAKE_INSTALL_PREFIX ) +# set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/bin") +# endif() +# endif() +#endif() + +include(${CMAKE_SOURCE_DIR}/cmake/compiler/msvc/settings.cmake) |