Hi Amith, here is what I did: please look at the file storage/<engine>/CMakeLists.txt copy this file to storage/<customEngine>/ and then edit the text. An example for the new content: >> --------------------------- SET(DUMMY_PLUGIN_DYNAMIC "ha_dummy") SET(DUMMY_SOURCES ha_dummy.cc ha_dummy.h) MYSQL_ADD_PLUGIN(dummy ${DUMMY_SOURCES} STORAGE_ENGINE MODULE_ONLY) << --------------------
replace the name 'ha_dummy' with the name of your file. Now, on a command-line execute the command: cmake -DCMAKE_BUILD_TYPE=Debug you may add more options here if required. Now recompile the sources. Everything worked here on my PC. A tip: add an error to your sources so that the compiler will complain about this, e.g. a syntax error. If this error-message appears you will know that your source-code will be compiled. hth AugustQ On Di, 2014-03-25 at 20:17 +0530, Amith Nagarajappa wrote: > Hi, > > > When i am creating a folder in storage/<customEngine>. I have placed > the makefile from example folder and in the customEngine folder and > have made required changes. > > > However, makefile is not generated in the storage/<customEngine> > folder. > > > What change I have to make in configure or configure.in file? > > > Right now, my custom engine code is similar to example code. I would > like to build it first and then make the changes accordingly. But > makefile is not generated. > > > Appreciate your help. > > > Thanks and Regards, > Amith > _______________________________________________ > Mailing list: https://launchpad.net/~maria-developers > Post to : maria-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~maria-developers > More help : https://help.launchpad.net/ListHelp
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp