Fix RelWithDebInfo build.
authorAndrew Wiggin <ender79bl@gmail.com>
Sat, 29 Oct 2011 16:14:38 +0000 (16:14 +0000)
committerAndrew Wiggin <ender79bl@gmail.com>
Sat, 29 Oct 2011 16:14:38 +0000 (16:14 +0000)
commit15bd96efeb77cf33215613a53059f01db7242b31
treee3b8747ebe7fdb6d6618f8504eff1ff80faaac81
parente28c2ce753fbbcd26f5f22780f521e3ea85c060f
Fix RelWithDebInfo build.

RelWithDebInfo sets the library path to only include release libraries (e.g. python32.lib) but defining _DEBUG when #include'ing python headers inserts a linker directive to require for python32_d.lib. Additionally, RelWithDebInfo should be different from release build in that it builds debugger symbols (.PDBs), it should not have asserts and other debug code.
CMakeLists.txt