On Tue, Nov 03, 2009 at 05:54:16AM +0000, Alex H wrote: > if I have add_definition then the add_executable underneath it gets compiled with the definition specified above it? Why don't you try it and see? If it doesn't work, post your CMakeLists and see if someone can help. tyler