Hi, I am building a .DLL. I am using cmake to generate VisualStudio7 project files. Is it possible to link with a .lib in Debug and a different .lib in Release ? I think that is possible using something like this : IF(DEBUG) LINK_LIBRARIES(rxmd.lib) ELSE(DEBUG) LINK_LIBRARIES(rxmr.lib) ENDIF(DEBUG) But, I can't find the exact "IF" command. Thank you! Patrick Rochon Code Administrator Stelvio inc.