]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
Generate seperate debug postfix dll for building in debug.
authorStephen Ma <tehphen@gmail.com>
Sun, 20 Dec 2015 00:20:32 +0000 (16:20 -0800)
committerStephen Ma <tehphen@gmail.com>
Sun, 20 Dec 2015 00:20:32 +0000 (16:20 -0800)
CMakeLists.txt

index 87309bf1b50ede001bf85ef4cfd8818ae5294bc3..08b4c379c70e2f3613864aaca108743d545a6b7d 100644 (file)
@@ -132,6 +132,7 @@ if (ENTITYX_BUILD_SHARED)
         )
     set_target_properties(entityx_shared PROPERTIES
         OUTPUT_NAME entityx
+        DEBUG_POSTFIX -d
         VERSION ${ENTITYX_VERSION}
         SOVERSION ${ENTITYX_MAJOR_VERSION})
     list(APPEND install_libs entityx_shared)