
Thomas Klimpel wrote:
Hi,
In order to be able to step through the examples and tests with the VC debugger, I created CMakeLists.txt files for both. There were .sln files there, but they don't seem to work with VC9express.
I found that it may behave awkward sometimes, but it's non-GGL issue. The .sln files sometimes are tricky, so it's better to try to open .vcproj files. However, do not double-click on them but try to open from IDE (File -> Open).
I initially also planned to test the interactions and comparisons with the other libs, but I gave up when I had to build soci and was presented with a .sln file not working with VC9express again.
This may be inconvenient, indeed. Unfortunately, there is no other way to present interaction with 3rd-party libraries than require their dependency. (as a side note, I'm working on CMake configuration for SOCI and new release including more friendly build configuration is on its way, so, stay tuned :-))
One of the files should be placed in lib/ggl/example, the other should be placed in lib/ggl/test. In cmake, you will most probably have to adjust the BOOST_ROOT_DIR to point to your boost installation.
Thank you for the CMake files. As a fan of CMake, I have it on my todo list to configure GGL tests and examples for CMake, so your contribution is definitely helpful.
The tests "strategies/segment_intersection.cpp" and "multi/algorithms/multi_centroid1.cpp" fail to build, but this is no surprise since they are also excluded in the corresponding jamfiles.
Yes, they are excluded. This test needs some work.
I tested the CMakeLists.txt files with VC9express and gcc-4.3.4 under cygwin.
Great. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org