Please keep the list in the replies so other people may answer. > actually, I want build my library in debug and release mode with name in > debug is mylibd.dll and release mode is mylib.dll. can you help me? set_target_properties(mylib PROPERTIES DEBUG_POSTFIX "d") Eike