2001-08-22 00:45:07 +02:00
|
|
|
// disable code inlining when building static libs
|
|
|
|
InlineCode = "no"
|
|
|
|
|
|
|
|
// include common options
|
|
|
|
include "MySQL-Opt.icc"
|
|
|
|
include "MySQL-Source.icc"
|
|
|
|
|
|
|
|
option ProjectOptions = MySQLOptions
|
|
|
|
{
|
|
|
|
|
|
|
|
option file(genobject, "..\\OBJ\\ZLIB\\")
|
|
|
|
{
|
|
|
|
target "..\\bin\\mysql.dll"
|
|
|
|
{
|
|
|
|
// optimized precompiled headers
|
|
|
|
option macros('global', 'yes')
|
|
|
|
{
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') client_global_pch
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
// target source files
|
|
|
|
source zlib
|
|
|
|
if debug_build {
|
|
|
|
source type('cpp') dbug
|
|
|
|
}
|
|
|
|
source type('cpp') my_sys
|
|
|
|
source type('cpp') my_sys_cli
|
|
|
|
source type('cpp') strings
|
|
|
|
source type('cpp') mysqlclientlib
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') '..\libmysql\dll.c'
|
|
|
|
source BldLevelInfo
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
option file(genobject, "..\\OBJ\\READLINE\\")
|
|
|
|
{
|
|
|
|
target "..\\bin\\mysql.exe"
|
|
|
|
{
|
|
|
|
// optimized precompiled headers
|
|
|
|
option macros('global', 'yes')
|
|
|
|
{
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') client_global_pch
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
// target source files
|
|
|
|
source type('cpp') "..\\client\\mysql.cc"
|
2001-10-31 02:22:31 +01:00
|
|
|
source BldLevelInfo
|
2002-07-15 18:26:11 +02:00
|
|
|
option define("HAVE_STRING_H", ), define("HAVE_CONFIG_H", )
|
|
|
|
{
|
|
|
|
source GnuReadline
|
|
|
|
}
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
target "..\\bin\\mysqladmin.exe"
|
|
|
|
{
|
|
|
|
// optimized precompiled headers
|
|
|
|
option macros('global', 'yes')
|
|
|
|
{
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') client_global_pch
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
// target source files
|
|
|
|
source type('cpp') "..\\client\\mysqladmin.c"
|
2001-10-31 02:22:31 +01:00
|
|
|
source BldLevelInfo
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
target "..\\bin\\mysqldump.exe"
|
|
|
|
{
|
|
|
|
// optimized precompiled headers
|
|
|
|
option macros('global', 'yes')
|
|
|
|
{
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') client_global_pch
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
// target source files
|
|
|
|
source type('cpp') "..\\client\\mysqldump.c"
|
2001-10-31 02:22:31 +01:00
|
|
|
source BldLevelInfo
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
target "..\\bin\\mysqlshow.exe"
|
|
|
|
{
|
|
|
|
// target source files
|
|
|
|
source type('cpp') "..\\client\\mysqlshow.c"
|
2001-10-31 02:22:31 +01:00
|
|
|
source BldLevelInfo
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
target "..\\bin\\mysqlimport.exe"
|
|
|
|
{
|
|
|
|
// target source files
|
|
|
|
source type('cpp') "..\\client\\mysqlimport.c"
|
2001-10-31 02:22:31 +01:00
|
|
|
source BldLevelInfo
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
target "..\\bin\\mysqltest.exe"
|
|
|
|
{
|
|
|
|
source type('cpp') "..\\client\\mysqltest.c"
|
2001-10-31 02:22:31 +01:00
|
|
|
source BldLevelInfo
|
|
|
|
}
|
|
|
|
|
|
|
|
target "..\\bin\\mysqlbinlog.exe"
|
|
|
|
{
|
|
|
|
// optimized precompiled headers
|
|
|
|
option macros('global', 'yes')
|
|
|
|
{
|
|
|
|
source type('cpp') client_global_pch
|
|
|
|
}
|
|
|
|
// target source files
|
|
|
|
source type('cpp') "..\\client\\mysqlbinlog.cc"
|
|
|
|
source BldLevelInfo
|
|
|
|
}
|
|
|
|
|
|
|
|
target "..\\bin\\mysqlcheck.exe"
|
|
|
|
{
|
|
|
|
// optimized precompiled headers
|
|
|
|
option macros('global', 'yes')
|
|
|
|
{
|
|
|
|
source type('cpp') client_global_pch
|
|
|
|
}
|
|
|
|
|
|
|
|
// target source files
|
|
|
|
source type('cpp') "..\\client\\mysqlcheck.c"
|
|
|
|
source BldLevelInfo
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|