SET (this_target base) INCLUDE_DIRECTORIES( ${SLP_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/inc ${CMAKE_SOURCE_DIR}/src/app/inc ${CMAKE_SOURCE_DIR}/src/io/inc inc collection utility ) SET (${this_target}_SOURCE_FILES FBaseBoolean.cpp FBaseBufferBase.cpp FBaseByteBuffer.cpp FBaseCharacter.cpp FBase_CharacterImpl.cpp FBaseDateTime.cpp FBaseDouble.cpp FBaseDoubleComparer.cpp FBaseErrors.cpp FBaseFloat.cpp FBaseFloatComparer.cpp FBaseInt8.cpp FBaseInt8Comparer.cpp FBaseInteger8.cpp FBaseInteger.cpp FBaseIntegerComparer.cpp FBaseInteger8Comparer.cpp FBaseLong.cpp FBaseLongComparer.cpp FBaseLongLong.cpp FBaseLongLongComparer.cpp FBase_LocalizedNumParser.cpp FBaseObject.cpp FBaseResult.cpp FBaseShort.cpp FBaseShortComparer.cpp FBaseString.cpp FBaseStringComparer.cpp FBaseStringHashCodeProvider.cpp FBase_StringConverter.cpp FBaseSys.cpp FBaseTimeSpan.cpp FBaseTypes.cpp FBaseUuId.cpp FBase_NativeError.cpp FBase_Exception.cpp FBaseFloatMatrix.cpp FBaseFloatMatrix3.cpp FBaseFloatMatrix4.cpp FBaseDoubleMatrix.cpp FBaseDoubleMatrix3.cpp FBaseDoubleMatrix4.cpp FBaseIntMatrix.cpp collection/FBaseColMapEntry.cpp collection/FBaseColQueue.cpp collection/FBaseColLinkedList.cpp collection/FBaseColStack.cpp collection/FBaseColArrayList.cpp collection/FBaseColMultiHashMap.cpp collection/FBaseColHashMap.cpp collection/FBaseColTypes.cpp utility/FBaseUtilDeflator.cpp utility/FBaseUtilStringTokenizer.cpp utility/FBaseUtilInflator.cpp utility/FBaseUtilMath.cpp utility/FBaseUtilLinkInfo.cpp utility/FBaseUtilZipEntry.cpp utility/FBaseUtilStringUtil.cpp utility/FBaseUtilUri.cpp utility/FBaseUtilFileZipper.cpp utility/FBaseUtilUrlEncoder.cpp utility/FBaseUtilFileUnzipper.cpp utility/FBaseUtil_FileUnzipperImpl.cpp utility/FBaseUtilUrlDecoder.cpp utility/FBaseUtilRegularExpression.cpp utility/FBaseUtil_RegularExpressionImpl.cpp utility/FBaseUtil_FileZipperImpl.cpp utility/FBaseUtil_IcuConverter.cpp utility/FBaseUtilScanner.cpp utility/FBaseUtil_ScannerImpl.cpp ) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") ## SET EXTRA COMPILER FLAGS SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fPIC" ) ## SET C COMPILER FLAGS SET(CMAKE_C_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}") ## SET CPP COMPILER FLAGS SET(CMAKE_CXX_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}") ## Create Library ADD_LIBRARY (${this_target} STATIC ${${this_target}_SOURCE_FILES})