MySQL Forums
Forum List  »  Optimizer & Parser

Re: Preparse Query Rewrite Plugin DLL
Posted by: Francois Haddad
Date: September 14, 2016 07:04PM

Thank you for the reply. I'm starting to understand better but I need more help. I've got CMake v3.6.2 installed and don't understand it much. I've played with it all day.

Can you post an example CMakeList.txt file to creating a DLL? Here is mine and here is the error I'm getting....

..........CMakeList.txt..........
cmake_minimum_required(VERSION 3.6.2)
project (MySQLQueryPreParser4)
add_executable(MySQLQueryPreParser4 MySQLQueryPreParser4.cpp)
MYSQL_ADD_PLUGIN(MySQLQueryPreParser4 MySQLQueryPreParser4.cpp
MODULE_ONLY MODULE_OUTPUT_NAME "MySQLQueryPreParser4")

..........ERROR..........
CMake Error at CMakeLists.txt:4 (MYSQL_ADD_PLUGIN):
Unknown CMake command "MYSQL_ADD_PLUGIN".

Options: ReplyQuote


Subject
Views
Written By
Posted
2085
August 12, 2016 05:16PM
780
September 08, 2016 02:23AM
Re: Preparse Query Rewrite Plugin DLL
1126
September 14, 2016 07:04PM
844
September 15, 2016 01:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.