Toshihiro Shimizu 890ddd
set(HEADERS
Toshihiro Shimizu 890ddd
    ../include/stdfx/shaderfx.h
Toshihiro Shimizu 890ddd
    ../include/stdfx/shaderinterface.h
Toshihiro Shimizu 890ddd
    ../include/stdfx/shadingcontext.h
Toshihiro Shimizu 890ddd
    gradients.h
Toshihiro Shimizu 890ddd
    hsvutil.h
Toshihiro Shimizu 890ddd
    offscreengl.h
Toshihiro Shimizu 890ddd
    particles.h
Toshihiro Shimizu 890ddd
    particlesengine.h
Toshihiro Shimizu 890ddd
    particlesfx.h
Toshihiro Shimizu 890ddd
    particlesmanager.h
Toshihiro Shimizu 890ddd
    perlinnoise.h
Toshihiro Shimizu 890ddd
    pins.h
Toshihiro Shimizu 890ddd
    stdfx.h
Toshihiro Shimizu 890ddd
    texturefxP.h
Toshihiro Shimizu 890ddd
    warp.h
Campbell Barton 3dcf6b
    motionawarebasefx.h
Campbell Barton 3dcf6b
    igs_color_blend.h
Campbell Barton 3dcf6b
    igs_color_rgb_hls.h
Campbell Barton 3dcf6b
    igs_color_rgb_hsv.h
Campbell Barton 3dcf6b
    igs_density.h
Campbell Barton 3dcf6b
    igs_fog.h
Campbell Barton 3dcf6b
    igs_gaussian_blur.h
Campbell Barton 3dcf6b
    igs_hls_add.h
Campbell Barton 3dcf6b
    igs_hls_adjust.h
Campbell Barton 3dcf6b
    igs_hls_noise.h
Campbell Barton 3dcf6b
    igs_hls_noise_in_camera.h
Campbell Barton 3dcf6b
    igs_hsv_add.h
Campbell Barton 3dcf6b
    igs_hsv_adjust.h
Campbell Barton 3dcf6b
    igs_hsv_noise.h
Campbell Barton 3dcf6b
    igs_hsv_noise_in_camera.h
Campbell Barton 3dcf6b
    igs_ifx_common.h
Campbell Barton 3dcf6b
    igs_level_auto.h
Campbell Barton 3dcf6b
    igs_level_auto_in_camera.h
Campbell Barton 3dcf6b
    igs_levels.h
Campbell Barton 3dcf6b
    igs_line_blur.h
Campbell Barton 3dcf6b
    igs_math_random.h
Campbell Barton 3dcf6b
    igs_maxmin.h
Campbell Barton 3dcf6b
    igs_maxmin_getput.h
Campbell Barton 3dcf6b
    igs_maxmin_lens_matrix.h
Campbell Barton 3dcf6b
    igs_maxmin_multithread.h
Campbell Barton 3dcf6b
    igs_maxmin_slrender.h
Campbell Barton 3dcf6b
    igs_median_filter.h
Campbell Barton 3dcf6b
    igs_median_filter_smooth.h
Campbell Barton 3dcf6b
    igs_motion_blur.h
Campbell Barton 3dcf6b
    igs_motion_wind.h
Campbell Barton 3dcf6b
    igs_motion_wind_pixel.h
Campbell Barton 3dcf6b
    igs_motion_wind_table.h
Campbell Barton 3dcf6b
    igs_negate.h
Campbell Barton 3dcf6b
    igs_os_type.h
Campbell Barton 3dcf6b
    igs_perlin_noise.h
Campbell Barton 3dcf6b
    igs_radial_blur.h
Campbell Barton 3dcf6b
    igs_resource_msg_from_err.h
Campbell Barton 3dcf6b
    igs_resource_multithread.h
Campbell Barton 3dcf6b
    igs_resource_sleep.h
Campbell Barton 3dcf6b
    igs_resource_thread.h
Campbell Barton 3dcf6b
    igs_rotate_blur.h
Campbell Barton 3dcf6b
    igs_warp.h
Campbell Barton 3dcf6b
    ino_common.h
Campbell Barton 3dcf6b
    iwa_adjustexposurefx.h
Campbell Barton 3dcf6b
    iwa_directionalblurfx.h
Campbell Barton 3dcf6b
    iwa_gradientwarpfx.h
Campbell Barton 3dcf6b
    iwa_motionblurfx.h
Campbell Barton 3dcf6b
    iwa_particles.h
Campbell Barton 3dcf6b
    iwa_particlesengine.h
Campbell Barton 3dcf6b
    iwa_particlesfx.h
Campbell Barton 3dcf6b
    iwa_particlesmanager.h
Campbell Barton 3dcf6b
    iwa_perspectivedistortfx.h
Campbell Barton 3dcf6b
    iwa_spectrumfx.h
Campbell Barton 3dcf6b
    iwa_simplexnoise.h
Campbell Barton 3dcf6b
    iwa_noise1234.h
Campbell Barton 3dcf6b
    iwa_fresnel.h
Campbell Barton 9ece9c
    iwa_pnperspectivefx.h
shun_iwasawa 4d2acf
    iwa_soapbubblefx.h
shun_iwasawa a35b8f
	iwa_bokehfx.h
shun_iwasawa c0bf38
	iwa_timecodefx.h
shun-iwasawa e2505a
	iwa_bokehreffx.h
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
set(SOURCES
Toshihiro Shimizu 890ddd
    adjustlevelsfx.cpp
Toshihiro Shimizu 890ddd
    artcontourfx.cpp
Toshihiro Shimizu 890ddd
    backlitfx.cpp
Toshihiro Shimizu 890ddd
    blendtzfx.cpp
Toshihiro Shimizu 890ddd
    blurfx.cpp
Toshihiro Shimizu 890ddd
    bodyhighlightfx.cpp
Toshihiro Shimizu 890ddd
    bright_contfx.cpp
Toshihiro Shimizu 890ddd
    calligraphicfx.cpp
Toshihiro Shimizu 890ddd
    changecolorfx.cpp
Toshihiro Shimizu 890ddd
    channelmixerfx.cpp
Toshihiro Shimizu 890ddd
    cloudsfx.cpp
Toshihiro Shimizu 890ddd
    colorembossfx.cpp
Toshihiro Shimizu 890ddd
    cornerpinfx.cpp
Toshihiro Shimizu 890ddd
    despecklefx.cpp
Toshihiro Shimizu 890ddd
    diamondgradientfx.cpp
Toshihiro Shimizu 890ddd
    dissolvefx.cpp
Toshihiro Shimizu 890ddd
    embossfx.cpp
Toshihiro Shimizu 890ddd
    erodilatefx.cpp
Toshihiro Shimizu 890ddd
    externalpalettefx.cpp
Toshihiro Shimizu 890ddd
    fourpointsgradientfx.cpp
Toshihiro Shimizu 890ddd
    freedistortfx.cpp
Toshihiro Shimizu 890ddd
    gammafx.cpp
Toshihiro Shimizu 890ddd
    glowfx.cpp
Toshihiro Shimizu 890ddd
    gradients.cpp
Toshihiro Shimizu 890ddd
    hsvkeyfx.cpp
Toshihiro Shimizu 890ddd
    hsvscalefx.cpp
Toshihiro Shimizu 890ddd
    hsvutil.cpp
Toshihiro Shimizu 890ddd
    kaleido.cpp
Toshihiro Shimizu 890ddd
    linearwavefx.cpp
Toshihiro Shimizu 890ddd
    localblurfx.cpp
Toshihiro Shimizu 890ddd
    localtransparencyfx.cpp
Toshihiro Shimizu 890ddd
    mosaicfx.cpp
Toshihiro Shimizu 890ddd
    motionblurfx.cpp
Toshihiro Shimizu 890ddd
    multitonefx.cpp
Toshihiro Shimizu 890ddd
    noisefx.cpp
Jeremy Bullock 3f9880
    nothingfx.cpp
Toshihiro Shimizu 890ddd
    palettefilterfx.cpp
Toshihiro Shimizu 890ddd
    particles.cpp
Toshihiro Shimizu 890ddd
    particlesengine.cpp
Toshihiro Shimizu 890ddd
    particlesfx.cpp
Toshihiro Shimizu 890ddd
    particlesmanager.cpp
Toshihiro Shimizu 890ddd
    perlinnoise.cpp
Toshihiro Shimizu 890ddd
    perlinnoisefx.cpp
Toshihiro Shimizu 890ddd
    pins.cpp
Toshihiro Shimizu 890ddd
    posterizefx.cpp
Toshihiro Shimizu 890ddd
    premultiplyfx.cpp
Toshihiro Shimizu 890ddd
    radialblurfx.cpp
Toshihiro Shimizu 890ddd
    randomwavefx.cpp
Toshihiro Shimizu 890ddd
    raylitfx.cpp
Toshihiro Shimizu 890ddd
    rgbkeyfx.cpp
Toshihiro Shimizu 890ddd
    rgbmcutfx.cpp
Toshihiro Shimizu 890ddd
    rgbmfadefx.cpp
Toshihiro Shimizu 890ddd
    rgbmscalefx.cpp
Toshihiro Shimizu 890ddd
    ripplefx.cpp
Toshihiro Shimizu 890ddd
    rotationalblurfx.cpp
Toshihiro Shimizu 890ddd
    saltpeppernoisefx.cpp
Toshihiro Shimizu 890ddd
    shaderfx.cpp
Toshihiro Shimizu 890ddd
    shaderinterface.cpp
Toshihiro Shimizu 890ddd
    shadingcontext.cpp
Toshihiro Shimizu 890ddd
    sharpenfx.cpp
Toshihiro Shimizu 890ddd
    solarizefx.cpp
Toshihiro Shimizu 890ddd
    squaregradientfx.cpp
Toshihiro Shimizu 890ddd
    stdfx.cpp
Toshihiro Shimizu 890ddd
    targetspotfx.cpp
Toshihiro Shimizu 890ddd
    texturefx.cpp
Toshihiro Shimizu 890ddd
    tilefx.cpp
Toshihiro Shimizu 890ddd
    tonecurvefx.cpp
Toshihiro Shimizu 890ddd
    unmultiplyfx.cpp
Toshihiro Shimizu 890ddd
    warp.cpp
Toshihiro Shimizu 890ddd
    warpfx.cpp
Campbell Barton 3dcf6b
    igs_attenuation_distribution.cpp
Campbell Barton 3dcf6b
    igs_color_blend.cpp
Campbell Barton 3dcf6b
    igs_color_rgb_hls.cpp
Campbell Barton 3dcf6b
    igs_color_rgb_hsv.cpp
Campbell Barton 3dcf6b
    igs_density.cpp
Campbell Barton 3dcf6b
    igs_fog.cpp
Campbell Barton 3dcf6b
    igs_gauss_distribution.cpp
Campbell Barton 3dcf6b
    igs_gaussian_blur.cpp
Campbell Barton 3dcf6b
    igs_hls_add.cpp
Campbell Barton 3dcf6b
    igs_hls_adjust.cpp
Campbell Barton 3dcf6b
    igs_hls_noise.cpp
Campbell Barton 3dcf6b
    igs_hls_noise_in_camera.cpp
Campbell Barton 3dcf6b
    igs_hsv_add.cpp
Campbell Barton 3dcf6b
    igs_hsv_adjust.cpp
Campbell Barton 3dcf6b
    igs_hsv_noise.cpp
Campbell Barton 3dcf6b
    igs_hsv_noise_in_camera.cpp
Campbell Barton 3dcf6b
    igs_level_auto.cpp
Campbell Barton 3dcf6b
    igs_level_auto_in_camera.cpp
Campbell Barton 3dcf6b
    igs_levels.cpp
Campbell Barton 3dcf6b
    igs_line_blur.cpp
Campbell Barton 3dcf6b
    igs_math_random.cpp
Campbell Barton 3dcf6b
    igs_maxmin.cpp
Campbell Barton 3dcf6b
    igs_maxmin_lens_matrix.cpp
Campbell Barton 3dcf6b
    igs_maxmin_slrender.cpp
Campbell Barton 3dcf6b
    igs_median_filter.cpp
Campbell Barton 3dcf6b
    igs_median_filter_smooth.cpp
Campbell Barton 3dcf6b
    igs_motion_blur.cpp
Campbell Barton 3dcf6b
    igs_motion_wind.cpp
Campbell Barton 3dcf6b
    igs_motion_wind_pixel.cpp
Campbell Barton 3dcf6b
    igs_motion_wind_table.cpp
Campbell Barton 3dcf6b
    igs_negate.cpp
Campbell Barton 3dcf6b
    igs_perlin_noise.cpp
Campbell Barton 3dcf6b
    igs_radial_blur.cpp
Campbell Barton 3dcf6b
    igs_resource_msg_from_err.cpp
Campbell Barton 3dcf6b
    igs_resource_multithread.cpp
Campbell Barton 3dcf6b
    igs_resource_sleep.cpp
Campbell Barton 3dcf6b
    igs_resource_thread.cpp
Campbell Barton 3dcf6b
    igs_rotate_blur.cpp
Campbell Barton 3dcf6b
    igs_warp_hori.cpp
Campbell Barton 3dcf6b
    igs_warp_vert.cpp
Campbell Barton 3dcf6b
    ino_blend_add.cpp
Campbell Barton 3dcf6b
    ino_blend_color_burn.cpp
Campbell Barton 3dcf6b
    ino_blend_color_dodge.cpp
Campbell Barton 3dcf6b
    ino_blend_cross_dissolve.cpp
Campbell Barton 3dcf6b
    ino_blend_darken.cpp
Campbell Barton 3dcf6b
    ino_blend_darker_color.cpp
Campbell Barton 3dcf6b
    ino_blend_divide.cpp
Campbell Barton 3dcf6b
    ino_blend_hard_light.cpp
Campbell Barton 3dcf6b
    ino_blend_hard_mix.cpp
Campbell Barton 3dcf6b
    ino_blend_lighten.cpp
Campbell Barton 3dcf6b
    ino_blend_lighter_color.cpp
Campbell Barton 3dcf6b
    ino_blend_linear_burn.cpp
Campbell Barton 3dcf6b
    ino_blend_linear_dodge.cpp
Campbell Barton 3dcf6b
    ino_blend_linear_light.cpp
Campbell Barton 3dcf6b
    ino_blend_multiply.cpp
Campbell Barton 3dcf6b
    ino_blend_over.cpp
Campbell Barton 3dcf6b
    ino_blend_overlay.cpp
Campbell Barton 3dcf6b
    ino_blend_pin_light.cpp
Campbell Barton 3dcf6b
    ino_blend_screen.cpp
Campbell Barton 3dcf6b
    ino_blend_soft_light.cpp
Campbell Barton 3dcf6b
    ino_blend_subtract.cpp
Campbell Barton 3dcf6b
    ino_blend_vivid_light.cpp
Campbell Barton 3dcf6b
    ino_blur.cpp
Campbell Barton 3dcf6b
    ino_channel_selector.cpp
Campbell Barton 3dcf6b
    ino_common.cpp
Campbell Barton 3dcf6b
    ino_density.cpp
Campbell Barton 3dcf6b
    ino_fog.cpp
Campbell Barton 3dcf6b
    ino_hls_add.cpp
Campbell Barton 3dcf6b
    ino_hls_adjust.cpp
Campbell Barton 3dcf6b
    ino_hls_noise.cpp
Campbell Barton 3dcf6b
    ino_hsv_add.cpp
Campbell Barton 3dcf6b
    ino_hsv_adjust.cpp
Campbell Barton 3dcf6b
    ino_hsv_noise.cpp
Campbell Barton 3dcf6b
    ino_level_auto.cpp
Campbell Barton 3dcf6b
    ino_level_master.cpp
Campbell Barton 3dcf6b
    ino_level_rgba.cpp
Campbell Barton 3dcf6b
    ino_line_blur.cpp
Campbell Barton 3dcf6b
    ino_maxmin.cpp
Campbell Barton 3dcf6b
    ino_median.cpp
Campbell Barton 3dcf6b
    ino_median_filter.cpp
Campbell Barton 3dcf6b
    ino_motion_blur.cpp
Campbell Barton 3dcf6b
    ino_motion_wind.cpp
Campbell Barton 3dcf6b
    ino_negate.cpp
Campbell Barton 3dcf6b
    ino_pn_clouds.cpp
Campbell Barton 3dcf6b
    ino_radial_blur.cpp
Campbell Barton 3dcf6b
    ino_spin_blur.cpp
Campbell Barton 3dcf6b
    ino_warp_hv.cpp
Campbell Barton 3dcf6b
    iwa_adjustexposurefx.cpp
Campbell Barton 3dcf6b
    iwa_directionalblurfx.cpp
Campbell Barton 3dcf6b
    iwa_gradientwarpfx.cpp
Campbell Barton 3dcf6b
    iwa_motionblurfx.cpp
Campbell Barton 3dcf6b
    iwa_particles.cpp
Campbell Barton 3dcf6b
    iwa_particlesengine.cpp
Campbell Barton 3dcf6b
    iwa_particlesfx.cpp
Campbell Barton 3dcf6b
    iwa_particlesmanager.cpp
Campbell Barton 3dcf6b
    iwa_perspectivedistortfx.cpp
Campbell Barton 3dcf6b
    iwa_spectrumfx.cpp
Campbell Barton 3dcf6b
    iwa_tilefx.cpp
Campbell Barton 3dcf6b
    iwa_simplexnoise.cpp
Campbell Barton 3dcf6b
    iwa_noise1234.cpp
Campbell Barton 9ece9c
    iwa_pnperspectivefx.cpp
shun_iwasawa 4d2acf
    iwa_soapbubblefx.cpp
shun_iwasawa a35b8f
	${SDKROOT}/kiss_fft130/kiss_fft.c
shun_iwasawa a35b8f
	${SDKROOT}/kiss_fft130/tools/kiss_fftnd.c
shun_iwasawa a35b8f
	iwa_bokehfx.cpp
shun_iwasawa c0bf38
	iwa_timecodefx.cpp
shun-iwasawa e2505a
	iwa_bokehreffx.cpp
shun-iwasawa b82200
	iwa_barreldistortfx.cpp
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
Campbell Barton 268e1b
set(OBJCSOURCES
Campbell Barton 268e1b
)
Campbell Barton 268e1b
Toshihiro Shimizu 890ddd
add_library(tnzstdfx SHARED ${HEADERS} ${SOURCES} ${OBJCSOURCES})
Campbell Barton f2d492
add_definitions(
Campbell Barton f2d492
    -D_USRDLL
Campbell Barton f2d492
    -DTNZSTDFX_EXPORTS
Campbell Barton f2d492
)
Campbell Barton f2d492
429ee8
if(BUILD_ENV_APPLE)
Toshihiro Shimizu 890ddd
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-install_name,@rpath/libtnzstdfx.dylib")
shun-iwasawa 5a2ff6
    add_dependencies(tnzstdfx tnzcore tnzbase toonzlib)
Campbell Barton f08982
endif()
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
message("subdir: tnzstdfx")
Toshihiro Shimizu 890ddd
message("Bin: " ${CMAKE_CURRENT_BINARY_DIR})
Toshihiro Shimizu 890ddd
roentgen 19af1b
if(GLEW_FOUND)
Campbell Barton a9c3da
    include_directories(
Campbell Barton a9c3da
        SYSTEM
Campbell Barton a9c3da
        ${GLEW_INCLUDE_DIRS}
Campbell Barton a9c3da
    )
roentgen 19af1b
else()
Campbell Barton a9c3da
    include_directories(
Campbell Barton a9c3da
        SYSTEM
Campbell Barton a9c3da
        ${SDKROOT}/glew/glew-1.9.0/include
Campbell Barton a9c3da
    )
roentgen 19af1b
endif()
roentgen 19af1b
shun_iwasawa a35b8f
include_directories(
shun_iwasawa a35b8f
    ${SDKROOT}/kiss_fft130
shun_iwasawa a35b8f
)
shun_iwasawa a35b8f
Toshihiro Shimizu 890ddd
_find_toonz_library(TNZLIBS "tnzcore;tnzbase;toonzlib")
Toshihiro Shimizu 890ddd
429ee8
if(BUILD_ENV_APPLE)
Campbell Barton f08982
    # macports を使っていると symbol が非互換の /opt/lib が引っ掛かってしまう
Campbell Barton f08982
    find_library(ICONV_LIB iconv HINTS /usr/lib)
Campbell Barton f08982
    if(ICONV_LIB-NOTFOUND)
Campbell Barton f08982
        message("************* NO ICONV ****************")
Campbell Barton f08982
    else()
Campbell Barton f08982
        message("************* ICONV:" ${ICONV_LIB})
Campbell Barton f08982
    endif()
Campbell Barton f08982
    target_link_libraries(tnzstdfx Qt5::Core Qt5::Gui Qt5::OpenGL ${GL_LIB} ${GLEW_LIB} ${TNZLIBS} ${ICONV_LIB})
Campbell Barton f08982
else()
Campbell Barton f08982
    target_link_libraries(tnzstdfx Qt5::Core Qt5::Gui Qt5::OpenGL ${GL_LIB} ${GLEW_LIB} ${TNZLIBS})
Campbell Barton f08982
endif()