Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-06-09 Thread Ryan Pavlik
So, I made a little typo - you don't probably want to supply the PATHS argument at all. PATH_SUFFIXES are tacked on to the end of every place CMake looks, so the number of places searched is (# of cmake default places + 1 for hints path) * (# of PATH_SUFFIXES arguments + 1 for no suffix) fin

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-06-09 Thread Ryan Pavlik
On 05/27/2010 03:29 PM, Torri, Stephen CIV NSWCDD, W15 wrote: From: Ryan Pavlik [mailto:rpav...@iastate.edu] Sent: Wed 5/26/2010 5:37 PM To: Torri, Stephen CIV NSWCDD, W15; cmake@cmake.org Subject: Re: [CMake] Help creating a module for detecting mysql-connector-c++ No, the "ROO

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-06-07 Thread Torri, Stephen CIV NSWCDD, W15
I am revisiting the FindMysqlCppConnector.cmake file now that I have other problems solved. What I cannot determine is how to tell cmake to tell me all the path combinations it used to search for the MySQL Connector/C++ header and library files. The script you gave is attached. I am getting the

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-05-27 Thread Torri, Stephen CIV NSWCDD, W15
> From: Ryan Pavlik [mailto:rpav...@iastate.edu] > Sent: Wed 5/26/2010 5:37 PM > To: Torri, Stephen CIV NSWCDD, W15; cmake@cmake.org > Subject: Re: [CMake] Help creating a module for detecting mysql-connector-c++ > > No, the "ROOT_DIR" variables are to be set b

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-05-26 Thread Ryan Pavlik
On 05/26/2010 01:59 PM, Torri, Stephen CIV NSWCDD, W15 wrote: From: Ryan Pavlik [mailto:rpav...@iastate.edu] Sent: Wed 5/26/2010 2:42 PM To: Torri, Stephen CIV NSWCDD, W15; cmake@cmake.org Subject: Re: [CMake] Help creating a module for detecting mysql-connector-c++ Didn't test it, jus

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-05-26 Thread Ryan Pavlik
On 05/26/2010 01:49 PM, Torri, Stephen CIV NSWCDD, W15 wrote: From: Ryan Pavlik [mailto:rpav...@iastate.edu] Sent: Wed 5/26/2010 2:42 PM To: Torri, Stephen CIV NSWCDD, W15; cmake@cmake.org Subject: Re: [CMake] Help creating a module for detecting mysql-connector-c++ Didn't test it, just r

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-05-26 Thread Torri, Stephen CIV NSWCDD, W15
> From: Ryan Pavlik [mailto:rpav...@iastate.edu] > Sent: Wed 5/26/2010 2:42 PM > To: Torri, Stephen CIV NSWCDD, W15; cmake@cmake.org > Subject: Re: [CMake] Help creating a module for detecting mysql-connector-c++ > > Didn't test it, just ran it through my cleanup software

Re: [CMake] Help creating a module for detecting mysql-connector-c++

2010-05-26 Thread Ryan Pavlik
Didn't test it, just ran it through my cleanup software and then tweaked it a bit by hand. Hopefully this should help - at the very least it will be more readable and standardized. With this, you should just be able to set a MYSQLCONNECTORCPP_ROOT_DIR and have it find the rest properly and au

[CMake] Help creating a module for detecting mysql-connector-c++

2010-05-26 Thread Torri, Stephen CIV NSWCDD, W15
I am trying to create a connector for finding mysql-connector-c++. This is a C++ library that allows a C++ application or library connect to a MySQL server. Right now it works fine on Linux but fails to locate the mysql-connector-c++ library installed on a XP 64-bit machine. On the Linux system