]> code.bitgloo.com Git - clyne/entityx.git/commit
Make debug postfix optional
authordeflinhec <falconlegend810518@gmail.com>
Wed, 29 Apr 2020 12:29:52 +0000 (20:29 +0800)
committerAlec Thomas <alec@swapoff.org>
Fri, 1 May 2020 13:28:08 +0000 (23:28 +1000)
commit014d3ef82db65e9e86c05da425838b6a0a623af9
tree26f18b3c183af51e549a9ec05397067aa313d408
parent13b01f9d311b274a4f22370168229207b8caa1d5
Make debug postfix optional

Library debug postfix might not be suitable for cross platform project, and usually require extra work of link against prebuilt yaml-cpp.

Generally, Xcode project output library to these directories:

    Debug
    Release
    Debug-iphoneos
    Release-iphoneos
    Debug-iphonesimulator
    Release-iphonesimulator
Another Xcode project usually configured its build setting as follow, and expects library name to be same between Release and Debug

    LIBRARY_SEARCH_PATHS=$(CONFIGURATION)$(EFFECT_PLATFORM_NAME)
    OTHER_LDFLAGS= $(inherited) -lentityx
CMakeLists.txt