<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello everybody,<br>
<br>
I'm relatively new to CMake, but managed to learn everything I
needed, up until now.<br>
For a software project in C++ we want to use Pantheios ( <a
href="http://www.pantheios.org/">http://www.pantheios.org</a> ) as
logging framework.<br>
Sadly, there is no FindPantheios.cmake file readily available, so I
set of to write my own.<br>
<br>
The part for searching the include files/path was easy.<br>
<br>
The big problem I am facing and find myself unable to solve is the
wide variety of library files.<br>
The amount of available lib files is huge, see the attached file for
the list.<br>
<br>
For example, the core libs:<br>
pantheios.1.core.vc10.x64.dll.debug.lib<br>
pantheios.1.core.vc10.x64.dll.lib<br>
pantheios.1.core.vc10.x64.mt.debug.lib<br>
pantheios.1.core.vc10.x64.mt.lib<br>
pantheios.1.core.vc10.x64.widestring.dll.debug.lib<br>
pantheios.1.core.vc10.x64.widestring.dll.lib<br>
pantheios.1.core.vc10.x64.widestring.mt.debug.lib<br>
pantheios.1.core.vc10.x64.widestring.mt.lib<br>
<br>
I would like to have a checkbox to select Widestring capability
yes/no.<br>
<br>
A main problem for me is to check that the selected libs are valid
for the current configuration (if VC10 x64 was selected as compiler,
only allow vc10.x64 libs) - is there a way to securely achieve that?
Or should I rather let the user select arbitrary lib files and hope
that they will work?<br>
<br>
What I need is six fields for the user to select lib files - the
core lib, one frontend and a backend. And that for both Debug and
Release. It would be much more useful if the user could select from
a dropdown menu which Front-/Backend he would like together with the
Widestring checkbox and the CMake file would assign the required
Debug and Release libs to the variables, but as sated above, I do
not know how to produce the required version string and how to
create such mechanisms in CMake in general.<br>
<br>
Please excuse my noobishnes, I would really like to make this work
and contribute the FindPantheios.cmake file to the community - if I
manage to create a working one :)<br>
<br>
Yours faithfully,<br>
Philipp Berger<br>
</body>
</html>