Toshihiro Shimizu 890ddd
set(MOC_HEADERS
Toshihiro Shimizu 890ddd
    ../include/tundo.h
Toshihiro Shimizu 890ddd
    ../include/tthread.h
Toshihiro Shimizu 890ddd
    ../common/tcore/tthreadp.h
Toshihiro Shimizu 890ddd
    ../include/tipcsrv.h
Toshihiro Shimizu 890ddd
    ../include/tipcsrvP.h
Toshihiro Shimizu 890ddd
    ../include/tmsgcore.h
Campbell Barton 9ece9c
    ../include/tfunctorinvoker.h
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
set(HEADERS ${MOC_HEADERS}
Toshihiro Shimizu 890ddd
    ../common/trop/loop_macros.h
Toshihiro Shimizu 890ddd
    ../common/trop/optimize_for_lp64.h
Toshihiro Shimizu 890ddd
    ../common/trop/quickputP.h
Toshihiro Shimizu 890ddd
    ../common/tiio/compatibility/tfile_io.h
Toshihiro Shimizu 890ddd
    ../common/tiio/bmp/filebmp.h
Toshihiro Shimizu 890ddd
    ../include/movsettings.h
Toshihiro Shimizu 890ddd
    ../include/tconst.h
Toshihiro Shimizu 890ddd
    ../include/transparencycheck.h
Toshihiro Shimizu 890ddd
    ../include/trastercm.h
Toshihiro Shimizu 890ddd
    ../include/trasterfx.h
Toshihiro Shimizu 890ddd
    ../include/ttile.h
Toshihiro Shimizu 890ddd
    ../common/psdlib/psd.h
Toshihiro Shimizu 890ddd
    ../common/psdlib/psdutils.h
Toshihiro Shimizu 890ddd
    ../common/trop/runsmap.h
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tvectorimageP.h
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tsegmentadjuster.h
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tl2lautocloser.h
Toshihiro Shimizu 890ddd
    ../common/tvrender/tellipticbrushP.h
Toshihiro Shimizu 890ddd
    ../include/tatomicvar.h
Toshihiro Shimizu 890ddd
    ../include/tcommon.h
Toshihiro Shimizu 890ddd
    ../include/tconvert.h
Toshihiro Shimizu 890ddd
    ../include/tdata.h
Toshihiro Shimizu 890ddd
    ../include/tdebugmessage.h
Toshihiro Shimizu 890ddd
    ../include/texception.h
Toshihiro Shimizu 890ddd
    ../include/texpression.h
Toshihiro Shimizu 890ddd
    ../include/tmathutil.h
Toshihiro Shimizu 890ddd
    ../include/tnztypes.h
Toshihiro Shimizu 890ddd
    ../include/tproperty.h
Toshihiro Shimizu 890ddd
    ../include/trandom.h
Toshihiro Shimizu 890ddd
    ../include/tsmartpointer.h
Toshihiro Shimizu 890ddd
    ../include/tstopwatch.h
Toshihiro Shimizu 890ddd
    ../include/tthreadmessage.h
Toshihiro Shimizu 890ddd
    ../include/tutil.h
Toshihiro Shimizu 890ddd
    ../include/tcolorfunctions.h
Toshihiro Shimizu 890ddd
    ../include/tcolorvalue.h
Toshihiro Shimizu 890ddd
    ../include/tcolumnset.h
Toshihiro Shimizu 890ddd
    ../include/tpixel.h
Toshihiro Shimizu 890ddd
    ../include/tpixelcm.h
Toshihiro Shimizu 890ddd
    ../include/tpixelgr.h
Toshihiro Shimizu 890ddd
    ../include/tpixelutils.h
Toshihiro Shimizu 890ddd
    ../include/tspectrum.h
Toshihiro Shimizu 890ddd
    ../include/tcurves.h
Toshihiro Shimizu 890ddd
    ../include/tcurveutil.h
Toshihiro Shimizu 890ddd
    ../include/tgeometry.h
Toshihiro Shimizu 890ddd
    ../include/traster.h
Toshihiro Shimizu 890ddd
    ../include/timage.h
Toshihiro Shimizu 890ddd
    ../include/tlevel.h
Toshihiro Shimizu 890ddd
    ../include/tcontenthistory.h
Toshihiro Shimizu 890ddd
    ../include/tfilepath.h
Toshihiro Shimizu 890ddd
    ../include/tfilepath_io.h
Toshihiro Shimizu 890ddd
    ../include/tfiletype.h
Toshihiro Shimizu 890ddd
    ../include/timagecache.h
Toshihiro Shimizu 890ddd
    ../include/tlogger.h
Toshihiro Shimizu 890ddd
    ../include/tpluginmanager.h
Toshihiro Shimizu 890ddd
    ../include/tsystem.h
Toshihiro Shimizu 890ddd
    ../include/drawutil.h
Toshihiro Shimizu 890ddd
    ../include/tregion.h
Toshihiro Shimizu 890ddd
    ../include/tstroke.h
Toshihiro Shimizu 890ddd
    ../include/tstrokeoutline.h
Toshihiro Shimizu 890ddd
    ../include/tsweepboundary.h
Toshihiro Shimizu 890ddd
    ../include/tvectorimage.h
Toshihiro Shimizu 890ddd
    ../include/tgl.h
Toshihiro Shimizu 890ddd
    ../include/tstencilcontrol.h
Toshihiro Shimizu 890ddd
    ../include/tsop.h
Toshihiro Shimizu 890ddd
    ../include/tsound.h
Toshihiro Shimizu 890ddd
    ../include/tsound_io.h
Toshihiro Shimizu 890ddd
    ../include/tsound_t.h
Toshihiro Shimizu 890ddd
    ../include/tsoundsample.h
Toshihiro Shimizu 890ddd
    ../include/timage_io.h
Toshihiro Shimizu 890ddd
    ../include/timageinfo.h
Toshihiro Shimizu 890ddd
    ../include/tlevel_io.h
Toshihiro Shimizu 890ddd
    ../include/tcachedlevel.h
Toshihiro Shimizu 890ddd
    ../include/tcodec.h
Toshihiro Shimizu 890ddd
    ../include/trasterimage.h
Toshihiro Shimizu 890ddd
    ../include/tcolorstyles.h
Toshihiro Shimizu 890ddd
    ../include/tfont.h
Toshihiro Shimizu 890ddd
    ../include/tinbetween.h
Toshihiro Shimizu 890ddd
    ../include/tofflinegl.h
Toshihiro Shimizu 890ddd
    ../include/qtofflinegl.h
Toshihiro Shimizu 890ddd
    ../include/tpalette.h
Toshihiro Shimizu 890ddd
    ../include/tpaletteutil.h
Toshihiro Shimizu 890ddd
    ../include/tregionprop.h
Toshihiro Shimizu 890ddd
    ../include/tsimplecolorstyles.h
Toshihiro Shimizu 890ddd
    ../include/tstrokedeformations.h
Toshihiro Shimizu 890ddd
    ../include/tstrokeprop.h
Toshihiro Shimizu 890ddd
    ../include/tstrokeutil.h
Toshihiro Shimizu 890ddd
    ../include/ttessellator.h
Toshihiro Shimizu 890ddd
    ../include/tvectorgl.h
Toshihiro Shimizu 890ddd
    ../include/tvectorbrushstyle.h
Toshihiro Shimizu 890ddd
    ../include/tvectorrenderdata.h
Toshihiro Shimizu 890ddd
    ../include/trop.h
Toshihiro Shimizu 890ddd
    ../include/trop_borders.h
Toshihiro Shimizu 890ddd
    ../include/tropcm.h
Toshihiro Shimizu 890ddd
    ../include/tpersist.h
Toshihiro Shimizu 890ddd
    ../include/tpersistset.h
Toshihiro Shimizu 890ddd
    ../include/tstream.h
Toshihiro Shimizu 890ddd
    ../include/tstreamexception.h
Toshihiro Shimizu 890ddd
    ../include/tiio.h
Toshihiro Shimizu 890ddd
    ../include/tiio_bmp.h
Toshihiro Shimizu 890ddd
    ../include/tiio_jpg.h
Toshihiro Shimizu 890ddd
    ../include/tiio_jpg_util.h
shun-iwasawa fdbab5
    ../include/tiio_jpg_exif.h
Toshihiro Shimizu 890ddd
    ../include/tiio_std.h
Toshihiro Shimizu 890ddd
    ../include/ttoonzimage.h
Toshihiro Shimizu 890ddd
    ../include/tipc.h
Toshihiro Shimizu 890ddd
    ../include/tipcmsg.h
Toshihiro Shimizu 890ddd
    ../include/t32bitsrv_wrap.h
Toshihiro Shimizu 890ddd
    ../include/tenv.h
Toshihiro Shimizu 890ddd
    ../include/tmeshimage.h
Campbell Barton 9ece9c
    ../include/tgldisplaylistsmanager.h
Dave 5a9475
    ../include/tversion.h
6e237b
    ../include/tstringid.h
6e237b
    ../include/tvariant.h
ae9154
    ../include/tmetaimage.h
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
set(SOURCES
Toshihiro Shimizu 890ddd
    ../common/tcore/tdata.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tdebugmessage.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/texception.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/threadmessage.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tmathutil.cpp
Toshihiro Shimizu 890ddd
    ../common/tproperty.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/trandom.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tsmartpointer.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tstopwatch.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tstring.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tthread.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tundo.cpp
Toshihiro Shimizu 890ddd
    ../common/tcore/tfunctorinvoker.cpp
Toshihiro Shimizu 890ddd
    ../common/tcolor/tcolorfunctions.cpp
Toshihiro Shimizu 890ddd
    ../common/tcolor/tcolorvalue.cpp
Toshihiro Shimizu 890ddd
    ../common/tcolor/tpixel.cpp
Toshihiro Shimizu 890ddd
    ../common/tcolor/tpixelutils.cpp
Toshihiro Shimizu 890ddd
    ../common/tcolor/tspectrum.cpp
Toshihiro Shimizu 890ddd
    ../common/tgeometry/tcurves.cpp
Toshihiro Shimizu 890ddd
    ../common/tgeometry/tcurveutil.cpp
Toshihiro Shimizu 890ddd
    ../common/tgeometry/tgeometry.cpp
Toshihiro Shimizu 890ddd
    ../common/traster/traster.cpp
Toshihiro Shimizu 890ddd
    ../common/timage/timage.cpp
Toshihiro Shimizu 890ddd
    ../common/timage/tlevel.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/cpuextensions.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tbigmemorymanager.cpp
Toshihiro Shimizu 890ddd
    ../common/tcontenthistory.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tfilepath.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tfilepath_io.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tfiletype.cpp
Toshihiro Shimizu 890ddd
    ../common/tcache/timagecache.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tlogger.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tpluginmanager.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tsystem.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/cornerdetector.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/drawutil.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tcomputeregions.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tregion.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tstroke.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tstrokeoutline.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tsegmentadjuster.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tsweepboundary.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tvectorimage.cpp
Toshihiro Shimizu 890ddd
    ../common/tgl/tgl.cpp
Toshihiro Shimizu 890ddd
    ../common/tgl/tstencilcontrol.cpp
Toshihiro Shimizu 890ddd
    ../common/tgl/tgldisplaylistsmanager.cpp
Toshihiro Shimizu 890ddd
    ../common/tsound/tsop.cpp
Toshihiro Shimizu 890ddd
    ../common/tsound/tsound.cpp
Toshihiro Shimizu 890ddd
    ../common/tsound/tsound_io.cpp
Toshihiro Shimizu 890ddd
    ../common/timage_io/timage_io.cpp
Toshihiro Shimizu 890ddd
    ../common/timage_io/tlevel_io.cpp
Toshihiro Shimizu 890ddd
    ../common/trasterimage/tcodec.cpp
Toshihiro Shimizu 890ddd
    ../common/trasterimage/trasterimage.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tcolorstyles.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tellipticbrush.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/qtofflinegl.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tglcurves.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tglregions.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tinbetween.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tofflinegl.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tpalette.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tpaletteutil.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tregionprop.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tsimplecolorstyles.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tstrokedeformations.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tstrokeprop.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tstrokeutil.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/ttessellator.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tvectorbrush.cpp
Toshihiro Shimizu 890ddd
    ../common/tvrender/tvectorbrushstyle.cpp
Toshihiro Shimizu 890ddd
    ../common/psdlib/psd.cpp
Toshihiro Shimizu 890ddd
    ../common/psdlib/psdutils.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/bbox.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/brush.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/quickput.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/runsmap.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tantialias.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tblur.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tcheckboard.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tconvert.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tconvolve.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tdespeckle.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tdistancetransform.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/terodilate.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tinvert.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/toperators.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tover.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/traylit.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tresample.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/trgbmscale.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/trop.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/tropcm.cpp
Toshihiro Shimizu 890ddd
    ../common/trop/trop_borders.cpp
Toshihiro Shimizu 890ddd
    ../common/tstream/tstream.cpp
Toshihiro Shimizu 890ddd
    ../common/tstream/tstreamexception.cpp
Toshihiro Shimizu 890ddd
    ../common/tstream/tpersistset.cpp
Toshihiro Shimizu 890ddd
    ../common/tiio/tiio.cpp
Toshihiro Shimizu 890ddd
    ../common/tiio/tiio_bmp.cpp
Toshihiro Shimizu 890ddd
    ../common/tiio/tiio_jpg.cpp
Toshihiro Shimizu 890ddd
    ../common/tiio/tiio_jpg_util.cpp
shun-iwasawa fdbab5
    ../common/tiio/tiio_jpg_exif.cpp
Toshihiro Shimizu 890ddd
    ../common/tiio/tiio_std.cpp
Toshihiro Shimizu 890ddd
    ../common/tiio/movsettings.cpp
Toshihiro Shimizu 890ddd
    ../common/tiio/compatibility/tfile_io.c
Toshihiro Shimizu 890ddd
    ../common/tiio/bmp/filebmp.c
Toshihiro Shimizu 890ddd
    ../common/trop/tfracmove.cpp
Toshihiro Shimizu 890ddd
    ../common/ttoonzimage/ttonzimage.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/uncpath.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/tl2lautocloser.cpp
Toshihiro Shimizu 890ddd
    ../common/tvectorimage/outlineApproximation.cpp
Toshihiro Shimizu 890ddd
    ../common/tipc/tipc.cpp
Toshihiro Shimizu 890ddd
    ../common/tipc/tipcmsg.cpp
Toshihiro Shimizu 890ddd
    ../common/tipc/tipcsrv.cpp
Toshihiro Shimizu 890ddd
    ../common/tipc/t32bitsrv_wrap.cpp
Toshihiro Shimizu 890ddd
    ../common/tsystem/tsystempd.cpp
Toshihiro Shimizu 890ddd
    ../common/tapptools/tenv.cpp
Toshihiro Shimizu 890ddd
    ../common/tmeshimage/tmeshimage.cpp
Campbell Barton 9ece9c
    ../common/tmsgcore.cpp
shun_iwasawa df21fa
    ../common/tvrender/tfont_qt.cpp
ae9154
    ../common/tmetaimage/tmetaimage.cpp
6e237b
    ../common/tstringid.cpp
6e237b
    ../common/tvariant.cpp
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
429ee8
if(BUILD_TARGET_WIN)
Toshihiro Shimizu 890ddd
    set(SOURCES ${SOURCES}
Toshihiro Shimizu 890ddd
        ../common/tsound/tsound_nt.cpp
Campbell Barton 9ece9c
    )
429ee8
elseif(BUILD_TARGET_APPLE)
Toshihiro Shimizu 890ddd
    set(SOURCES ${SOURCES}
a9c425
        ../common/tsound/tsound_qt.cpp
Campbell Barton 9ece9c
    )
429ee8
elseif(BUILD_TARGET_UNIX)
a9c425
    set(SOURCES ${SOURCES}
a9c425
        ../common/tsound/tsound_qt.cpp
a9c425
    )
Toshihiro Shimizu 890ddd
endif()
Toshihiro Shimizu 890ddd
shun-iwasawa 799a29
if(WITH_TRANSLATION)
shun-iwasawa 799a29
    add_translation(tnzcore ${HEADERS} ${SOURCES})
shun-iwasawa 799a29
endif()
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
qt5_wrap_cpp(SOURCES ${MOC_HEADERS})
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
add_library(tnzcore SHARED ${HEADERS} ${SOURCES})
Toshihiro Shimizu 890ddd
429ee8
if(BUILD_ENV_APPLE)
Tact Yoshida 8d13ab
    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-install_name,@executable_path/libtnzcore.dylib")
Campbell Barton f08982
endif()
Toshihiro Shimizu 890ddd
Campbell Barton f2d492
add_definitions(
Campbell Barton f2d492
    -DTNZCORE_EXPORTS
Campbell Barton f2d492
    -DTCOLOR_EXPORTS
Campbell Barton f2d492
    -DTGEOMETRY_EXPORTS
Campbell Barton f2d492
    -DTRASTER_EXPORTS
Campbell Barton f2d492
    -DTIMAGE_EXPORTS
Campbell Barton f2d492
    -DTSYSTEM_EXPORTS
Campbell Barton f2d492
    -DTVECTORIMAGE_EXPORTS
Campbell Barton f2d492
    -DTGL_EXPORTS
Campbell Barton f2d492
    -DTSOUND_EXPORTS
Campbell Barton f2d492
    -DTIMAGE_IO_EXPORTS
Campbell Barton f2d492
    -DTRASTERIMAGE_EXPORTS
ae9154
    -DTMETAIMAGE_EXPORTS
Campbell Barton f2d492
    -DTVRENDER_EXPORTS
Campbell Barton f2d492
    -DTFLASH_EXPORTS
Campbell Barton f2d492
    -DTROP_EXPORTS
Campbell Barton f2d492
    -DTSTREAM_EXPORTS
6e237b
    -DTSTRINGID_EXPORTS
6e237b
    -DTVARIANT_EXPORTS
Campbell Barton f2d492
)
Toshihiro Shimizu 890ddd
shun_iwasawa f5f4af
if(BUILD_TARGET_WIN)
shun_iwasawa f5f4af
    add_definitions(
shun_iwasawa f5f4af
        -DUNICODE
shun_iwasawa f5f4af
        -D_UNICODE
shun_iwasawa f5f4af
    )
shun_iwasawa f5f4af
endif()
shun_iwasawa f5f4af
Toshihiro Shimizu 890ddd
message("subdir: tnzcore")
Campbell Barton a9c3da
#message("Sources:" ${SOURCES})
Toshihiro Shimizu 890ddd
Campbell Barton a9c3da
include_directories(
Campbell Barton a9c3da
    SYSTEM
Campbell Barton a9c3da
    ../common/flash
Campbell Barton a9c3da
    ${SDKROOT}/Lz4/Lz4_131/lib/
Campbell Barton a9c3da
)
429ee8
429ee8
if(BUILD_TARGET_WIN)
Toshihiro Shimizu 890ddd
    if(PLATFORM EQUAL 32)
Campbell Barton a9c3da
        include_directories(
Campbell Barton a9c3da
            SYSTEM
Campbell Barton a9c3da
            ${SDKROOT}/quicktime/QT73SDK/CIncludes
Campbell Barton a9c3da
        )
Toshihiro Shimizu 890ddd
    endif()
Toshihiro Shimizu 890ddd
endif()
Toshihiro Shimizu 890ddd
429ee8
429ee8
if(BUILD_ENV_MSVC)
Toshihiro Shimizu 890ddd
    set(EXTRA_LIBS
Toshihiro Shimizu 890ddd
        netapi32.lib
Toshihiro Shimizu 890ddd
        mpr.lib
Toshihiro Shimizu 890ddd
        winmm.lib
Toshihiro Shimizu 890ddd
        opengl32.lib
Campbell Barton 9ece9c
        glu32.lib
justburner a66c51
        dbghelp.lib
Campbell Barton 9ece9c
    )
429ee8
elseif(BUILD_ENV_APPLE)
Toshihiro Shimizu 890ddd
    find_library(AUDIOUNIT_LIB AudioUnit)
Toshihiro Shimizu 890ddd
    find_library(AUDIOTB_LIB AudioToolbox)
Toshihiro Shimizu 890ddd
    find_library(CARBON_LIB Carbon)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
    set(EXTRA_LIBS
Toshihiro Shimizu 890ddd
        ${AUDIOUNIT_LIB}
Toshihiro Shimizu 890ddd
        ${AUDIOTB_LIB}
Campbell Barton 9ece9c
        ${CARBON_LIB}
Campbell Barton 9ece9c
    )
429ee8
elseif(BUILD_ENV_UNIXLIKE)
429ee8
    if(NOT BUILD_TARGET_WIN)
429ee8
        include_directories(
429ee8
            SYSTEM
429ee8
            ${FREETYPE_INCLUDE_DIRS}
429ee8
        )
429ee8
    endif()
Campbell Barton 22fd3b
    set(EXTRA_LIBS
Campbell Barton 9ece9c
        ${GLU_LIB}
Campbell Barton 9ece9c
    )
429ee8
    if(BUILD_TARGET_WIN)
429ee8
        set(EXTRA_LIBS
429ee8
            ${EXTRA_LIBS}
429ee8
            -lnetapi32
429ee8
            -lmpr
429ee8
            -lwinmm
429ee8
            -lpsapi
justburner a66c51
            -ldbghelp
429ee8
        )
429ee8
    endif()
Toshihiro Shimizu 890ddd
endif()
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
target_link_libraries(tnzcore
shun-iwasawa 31accf
    Qt5::Core Qt5::OpenGL Qt5::Network Qt5::Multimedia
Toshihiro Shimizu 890ddd
    ${GL_LIB} ${GLUT_LIB} ${QT_LIB} ${Z_LIB} ${JPEG_LIB} ${LZ4_LIB}
Campbell Barton 9ece9c
    ${EXTRA_LIBS}
Campbell Barton 9ece9c
)