alecthomas / entityx

EntityX - A fast, type-safe C++ Entity-Component system
MIT License
2.22k stars 295 forks source link

Make debug postfix optional #239

Closed deflinhec closed 4 years ago

deflinhec commented 4 years ago

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

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
alecthomas commented 4 years ago

Seems reasonable, thanks!