Commit graph

475 commits

Author SHA1 Message Date
unknown
645f285391 Clean up CMake configuration following review.
BitKeeper/deleted/.del-config-version.js~b31bb5a8:
  Delete: win/config-version.js
BitKeeper/deleted/.del-config-handlerton.js~553d3402:
  Delete: win/config-handlerton.js
cmakelists.txt:
  Clean up configuration, better integration with CMake.
sql/cmakelists.txt:
  Only build ha_xxx.cc for configured storage engines.
  Only link with configured storage engine projects.
win/configure.js:
  Move the task of config-version.js into configure.js.
2006-03-28 13:49:29 +02:00
unknown
fa780d44c6 Manual merge.
configure.in:
  Auto merged
mysql-test/mysql-test-run.pl:
  Auto merged
sql/mysqld.cc:
  Auto merged
sql/sql_insert.cc:
  Auto merged
2006-03-28 10:07:03 +02:00
unknown
a242edb454 removed handlerton-win.cc
now using CONFIGURE_FILE and INCLUDE to generate handlerton.cc and to set the definitions based on
the storage engines given on the command line


BitKeeper/deleted/.del-handlerton-win.cc~322a7e59507976df:
  Delete: sql/handlerton-win.cc
cmakelists.txt:
  use INCLUDE to read in the cmake file generated as part of configure
  comment out the setting of /wd4996 since we are using the -D flag instead
sql/cmakelists.txt:
  include IF() blocks for every storage engine and set two vars that are used with CONFIGURE_FILE later
  in the script.
  This CONFIGURE_FILE call replaces the need for config-handlerton.js
win/configure.js:
  write out proper cmake code instead of just the values.
2006-03-27 15:19:56 -06:00
unknown
230eab3c68 Some changes to make it possible to build for Windows with CMake from
a normal 'make dist' source .tar.gz.


libmysql/mytest.c:
  bk cp VC++Files/libmysqltest/mytest.c libmysql/mytest.c
sql/message.mc:
  bk cp VC++Files/sql/message.mc sql/message.mc
Makefile.am:
  Add Windows CMake stuff.
client/Makefile.am:
  Add extra files needed for CMake Windows build.
cmakelists.txt:
  Fix subdir order to make CMake dependency calculations happy.
configure.in:
  Add extra files needed for CMake Windows build.
extra/Makefile.am:
  Add extra files needed for CMake Windows build.
extra/yassl/Makefile.am:
  Add extra files needed for CMake Windows build.
libmysql/Makefile.am:
  Add extra files needed for CMake Windows build.
libmysql/cmakelists.txt:
  Move mytest.c to a more sensible location.
libmysqld/Makefile.am:
  Add extra files needed for CMake Windows build.
mysys/Makefile.am:
  Add extra files needed for CMake Windows build.
regex/Makefile.am:
  Add extra files needed for CMake Windows build.
server-tools/instance-manager/Makefile.am:
  Add extra files needed for CMake Windows build.
sql/Makefile.am:
  Add extra files needed for CMake Windows build.
sql/cmakelists.txt:
  Move message.mc to a more sensible location.
  Add some dependencies to avoid a stale handlerton.cc.
storage/archive/Makefile.am:
  Add extra files needed for CMake Windows build.
storage/bdb/Makefile.in:
  Add extra files needed for CMake Windows build.
storage/example/Makefile.am:
  Add extra files needed for CMake Windows build.
storage/heap/Makefile.am:
  Add extra files needed for CMake Windows build.
storage/innobase/Makefile.am:
  Add extra files needed for CMake Windows build.
storage/innobase/include/univ.i:
  Avoid including Unix config in Windows build.
storage/myisam/Makefile.am:
  Add extra files needed for CMake Windows build.
storage/myisammrg/Makefile.am:
  Add extra files needed for CMake Windows build.
strings/Makefile.am:
  Add extra files needed for CMake Windows build.
tests/Makefile.am:
  Add extra files needed for CMake Windows build.
vio/Makefile.am:
  Add extra files needed for CMake Windows build.
zlib/Makefile.am:
  Add extra files needed for CMake Windows build.
2006-03-24 22:50:56 +01:00
unknown
f19b2c0a00 Updated CMake stuff to handle the configurations needed for release
builds.


cmakelists.txt:
  Get the correct options for storage engines and defines from
  config-version.js.
mysys/cmakelists.txt:
  Set USE_TLS only for release builds, as it crashes in debug builds.
sql/cmakelists.txt:
  Fix build options to only include the configured storage engines.
sql/mysqld.cc:
  Fix dummy innodb declarations, otherwise non-innodb build fails.
storage/bdb/cmakelists.txt:
  Create cmakelists.txt for BDB.
win/README:
  Update with new configure.js options.
win/config-handlerton.js:
  Extend with more storage engines.
win/config-version.js:
  Extend to handle storage engines and other configuration parameters.
2006-03-23 16:34:52 +01:00
unknown
6091d5c7a0 Fix Windows CMake dependency problem.
client/cmakelists.txt:
  Fix dependency problem with the old GenError target.
extra/cmakelists.txt:
  Fix dependency problem with the old GenError target.
libmysql/cmakelists.txt:
  Fix dependency problem with the old GenError target.
server-tools/instance-manager/cmakelists.txt:
  Fix dependency problem with the old GenError target.
sql/cmakelists.txt:
  Fix dependency problem with the old GenError target.
win/README:
  Fix dependency problem with the old GenError target.
2006-03-16 13:30:59 +01:00
unknown
a477e78bdb Removed calls to deploy.bat from the build scripts since the cmake scripts are now
out in the target directories.
2006-03-15 10:33:16 -06:00
unknown
66f7f0869b Moved cmake scripts into the proper directories
sql/cmakelists.txt:
  Rename: sql/sql -> sql/cmakelists.txt
zlib/cmakelists.txt:
  Rename: win/cmakefiles/zlib -> zlib/cmakelists.txt
vio/cmakelists.txt:
  Rename: win/cmakefiles/vio -> vio/cmakelists.txt
regex/cmakelists.txt:
  Rename: win/cmakefiles/regex -> regex/cmakelists.txt
mysys/cmakelists.txt:
  Rename: win/cmakefiles/mysys -> mysys/cmakelists.txt
cmakelists.txt:
  Rename: win/cmakefiles/base -> cmakelists.txt
dbug/cmakelists.txt:
  Rename: win/cmakefiles/dbug -> dbug/cmakelists.txt
strings/cmakelists.txt:
  Rename: win/cmakefiles/strings -> strings/cmakelists.txt
libmysql/cmakelists.txt:
  Rename: win/cmakefiles/libmysql -> libmysql/cmakelists.txt
client/cmakelists.txt:
  Rename: win/cmakefiles/client -> client/cmakelists.txt
extra/cmakelists.txt:
  Rename: win/cmakefiles/extra -> extra/cmakelists.txt
tests/cmakelists.txt:
  Rename: win/cmakefiles/tests -> tests/cmakelists.txt
server-tools/instance-manager/cmakelists.txt:
  Rename: win/cmakefiles/im -> server-tools/instance-manager/cmakelists.txt
storage/heap/cmakelists.txt:
  Rename: win/cmakefiles/heap -> storage/heap/cmakelists.txt
storage/myisam/cmakelists.txt:
  Rename: win/cmakefiles/myisam -> storage/myisam/cmakelists.txt
storage/myisammrg/cmakelists.txt:
  Rename: win/cmakefiles/myisammrg -> storage/myisammrg/cmakelists.txt
storage/bdb/cmakelists.txt:
  Rename: win/cmakefiles/bdb -> storage/bdb/cmakelists.txt
storage/innobase/cmakelists.txt:
  Rename: win/cmakefiles/innobase -> storage/innobase/cmakelists.txt
extra/yassl/cmakelists.txt:
  Rename: win/cmakefiles/yassl -> extra/yassl/cmakelists.txt
extra/yassl/taocrypt/cmakelists.txt:
  Rename: win/cmakefiles/taocrypt -> extra/yassl/taocrypt/cmakelists.txt
BitKeeper/deleted/.del-deploy.bat~f6b42340:
  Delete: win/cmakefiles/deploy.bat
2006-03-15 10:22:12 -06:00
unknown
f70aa02753 README:
new file
2006-03-15 05:20:27 -06:00
unknown
03e84028d7 sql:
removed double entries for sql_yacc.* and added -p MYSQL define to call to bison


win/cmakefiles/sql:
  removed double entries for sql_yacc.* and added -p MYSQL define to call to bison
2006-03-15 02:16:16 -06:00
unknown
e9cf66a02d base:
Fixed problem where taocrypt was defined too early in the process


win/cmakefiles/base:
  Fixed problem where taocrypt was defined too early in the process
2006-03-13 05:17:23 -06:00
unknown
8f84c9f99e Some cmake script fixes
win/cmakefiles/client:
  fix dependencies
win/cmakefiles/libmysql:
  fix dependencies
win/cmakefiles/regex:
  removed definitions defined here.  They are defined globally
win/cmakefiles/strings:
  removed definitions defined here.  They are defined globally
win/cmakefiles/tests:
  fixed dependencies
win/cmakefiles/vio:
  removed definitions defined here.  They are defined globally
win/cmakefiles/zlib:
  removed definitions defined here.  They are defined globally
2006-03-03 22:05:40 -06:00
unknown
3706278669 Windows compile fixes.
win/cmakefiles/mysys:
  Remove no longer existing source file from list.
sql/log_event.cc:
  Fix byte * <-> char * Windows build problem.
VC++Files/mysys/mysys.vcproj:
  Remove no longer existing source file from list.
2006-02-28 12:52:38 +01:00
unknown
b5246481b5 Add CMake targets for missing stuff for release build. 2006-02-24 15:49:57 +01:00
unknown
ed7c25364d Merge mysqldev@win2003-x86:my/mysql-5.1-new
into  mysql.com:/usr/local/mysql/tmpbuild-5.1


mysql-test/mysql-test-run.pl:
  Auto merged
win/cmakefiles/sql:
  Auto merged
2006-02-22 10:19:45 +01:00
unknown
b2cf86f1bd BUG #15408 - Partitions: subpartition names are not unique
libmysqld/Makefile.am:
  changed name to partition_info.cc
mysql-test/r/partition_mgm_err.result:
  added drop table for previous test
mysql-test/t/partition_mgm_err.test:
  added drop table for previous test
sql/Makefile.am:
  reformatted a bit
  changed name of partition_info.cpp to partition_info.cc
sql/partition_element.h:
  updated copyright date
sql/partition_info.cc:
  minor corrections as a result of review
sql/partition_info.h:
  updated copyright date
sql/sql_partition.cc:
  updated file comment and fixed some spacing
sql/sql_partition.h:
  updated copyright date
win/cmakefiles/sql:
  changed name to partition_info.cc
2006-02-21 17:40:07 -06:00
unknown
d047fe77b7 BUG#15408: Partitions: subpartition names are not unique
Also, moved some of the code out of handler.h and into partition specific files for better 
separation.
Also, moved some of the C funcs into partition_info as formal C++ methods


mysql-test/r/partition_mgm_err.result:
  result block for test of bug # 15408
mysql-test/t/partition_mgm_err.test:
  test for duplicate subpartition names
sql/Makefile.am:
  adding sql_partition.h, partition_info.cpp, partition_info.h, and partition_element.h to the makefile
sql/ha_partition.cc:
  using the new members of partition_info
sql/ha_partition.h:
  using the new members of partition_info
sql/handler.h:
  moved this code into sql_partition.h
sql/mysql_priv.h:
  including sql_partition.h also now
sql/opt_range.cc:
  using the new members of partition_info
sql/sql_partition.cc:
  moved some of the functions out and into the partition_info class
  using the new members of partition_info
sql/sql_show.cc:
  using the new members of partition_info
win/cmakefiles/sql:
  added partition_info.cpp to the sql cmake file
sql/partition_element.h:
  New BitKeeper file ``sql/partition_element.h''
sql/partition_info.h:
  New BitKeeper file ``sql/partition_info.h''
sql/sql_partition.h:
  New BitKeeper file ``sql/sql_partition.h''
2006-02-16 10:38:33 -06:00
unknown
86df81d8c3 Changes to make testsuite run in CMake build tree. 2006-02-10 13:29:01 +01:00
unknown
f1f71c4879 Explicit cscript.exe execution of .js files. 2006-02-10 11:22:20 +01:00
unknown
63f544961a added cmake file for instance manager
win/cmakefiles/im:
  New BitKeeper file ``win/cmakefiles/im''
2006-02-08 23:57:30 -06:00
unknown
a9ccd2d8d5 cmakefiles cleanup
win/cmakefiles/base:
  add flag for diabling insecure crt functions warning
win/cmakefiles/client:
  add dependency to GenError to make sure the error files are made
win/cmakefiles/extra:
  add custom target to run comp_err
win/cmakefiles/sql:
  removed comp_err stuff.
2006-02-08 11:18:17 -06:00
unknown
14e5e0b96b cmake corrections to fix compiling on visual 7.1 2006-02-07 09:43:42 -06:00
unknown
6635bf53a2 a few corrections necessary for the win32 folder rename
win/build-vs71.bat:
  fixed call out to deploy.bat
win/build-vs8.bat:
  fixed call out to deploy.bat
win/cmakefiles/base:
  changed win32 to win
win/cmakefiles/sql:
  use proper win folder for path
win/configure.js:
  this file should be called from the root so we need to use the path
2006-01-31 13:10:05 -06:00
unknown
1940cabd08 change win32 to win 2006-01-31 08:41:39 -06:00
unknown
3fa2273ac1 initial cmake fileset. It is not production ready but stable enough to start working with
win/build-vs71.bat:
  batch file to build project files for Visual Studio 2003
win/build-vs8.bat:
  batch file to build project files for Visual Studio 2005
win/cmakefiles/base:
  cmakefile that will later be moved into the target directory
win/cmakefiles/bdb:
  cmakefile that will later be moved into the target directory
win/cmakefiles/client:
  cmakefile that will later be moved into the target directory
win/cmakefiles/dbug:
  cmakefile that will later be moved into the target directory
win/cmakefiles/deploy.bat:
  cmakefile that will later be moved into the target directory
win/cmakefiles/extra:
  cmakefile that will later be moved into the target directory
win/cmakefiles/heap:
  cmakefile that will later be moved into the target directory
win/cmakefiles/innobase:
  cmakefile that will later be moved into the target directory
win/cmakefiles/myisam:
  cmakefile that will later be moved into the target directory
win/cmakefiles/myisammrg:
  cmakefile that will later be moved into the target directory
win/cmakefiles/mysys:
  cmakefile that will later be moved into the target directory
win/cmakefiles/regex:
  cmakefile that will later be moved into the target directory
win/cmakefiles/sql:
  cmakefile that will later be moved into the target directory
win/cmakefiles/strings:
  cmakefile that will later be moved into the target directory
win/cmakefiles/taocrypt:
  cmakefile that will later be moved into the target directory
win/cmakefiles/vio:
  cmakefile that will later be moved into the target directory
win/cmakefiles/yassl:
  cmakefile that will later be moved into the target directory
win/cmakefiles/zlib:
  cmakefile that will later be moved into the target directory
win/config-handlerton.js:
  javascript file for updating handlerton.cc based on configure options
win/config-version.js:
  javascript file for updating mysql_version.h based on configure.in data
win/configure.js:
  basic configure javascript
2006-01-31 07:52:16 -06:00