I have a project written on linux using cmake that I would like to
build on Vista32. In the CMakeLists.txt file there is something like
this:


INCLUDE_DIRECTORIES(/usr/X11R6/include)
INCLUDE_DIRECTORIES(/home/chin/Cpp_Libraries/zlib)
LINK_DIRECTORIES(/usr/X11R6/lib)
LINK_DIRECTORIES(/home/chin/Cpp_Libraries/zlib)

But how do I find the corresponding libs for windows vista? I know
that zlib is avaliable for windows:

http://gnuwin32.sourceforge.net/packages/zlib.htm

But what about:

/usr/X11R6/lib

? Should I install eg. cygwin for this?

It seems a bit against the whole point of cross platform compilation
to have linux dependent libs in a CMakeLists.txt or am I missing
something?
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to