Re: [osg-users] Wrong CMake output directory using Visual - half submission

2010-10-25 Thread Sukender
Hi Chuck, Your point of view joins mine. Thanks for clarification. Be careful however: you wrote *_DEBUG and *_RELEASE. This is half true, because CMake has 4 configurations by default, and users can change them. So if I rename Release to Zrolbgluck (or add this new configuration), you'll have

[osg-users] Wrong CMake output directory using Visual - half submission

2010-10-22 Thread Sukender
Hi Robert, hi all, I spotted the binaries are not in /bin as usual with my new config (CMake 2.8.2, VS2010 x64), but in /bin/Debug and /bin/Release. I think CMake 2.8.2 is the cause because the usual way to work around these subdirs should not work anymore (SET_TARGET_PROPERTIES(Target

Re: [osg-users] Wrong CMake output directory using Visual - half submission

2010-10-22 Thread Chuck Seberino
Sukender, It is indeed related to CMake = 2.8.1. I have had success setting all configuration types including the generic one, which seems to work on Linux, OSX and Windows. So: SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${OUTPUT_LIBDIR}) SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE