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 5b2332
    iwa_bokehfx.h
shun-iwasawa 5b2332
    iwa_timecodefx.h
shun-iwasawa 5b2332
    iwa_bokehreffx.h
shun-iwasawa 5b2332
    iwa_textfx.h
shun-iwasawa 6817df
    iwa_corridorgradientfx.h
shun-iwasawa 00ed45
    iwa_spingradientfx.h
shun-iwasawa 5903e5
    iwa_lineargradientfx.h
shun-iwasawa 25dc51
    iwa_glarefx.h
shun-iwasawa a23340
    iwa_fractalnoisefx.h
shun-iwasawa af8f7a
    iwa_rainbow_intensity.h
shun-iwasawa af8f7a
    iwa_rainbowfx.h
shun-iwasawa 1b1839
    iwa_bokeh_advancedfx.h
shun-iwasawa 1b1839
    iwa_bokeh_util.h
shun-iwasawa 8cac36
    globalcontrollablefx.h
shun-iwasawa 832993
    iwa_floorbumpfx.h
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
shun-iwasawa 021eef
if(OpenCV_FOUND)
shun-iwasawa 021eef
    list(APPEND HEADERS iwa_bloomfx.h)
shun-iwasawa 021eef
endif()
shun-iwasawa 021eef
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 5b2332
    ${SDKROOT}/kiss_fft130/kiss_fft.c
shun-iwasawa 5b2332
    ${SDKROOT}/kiss_fft130/tools/kiss_fftnd.c
shun-iwasawa 5b2332
    iwa_bokehfx.cpp
shun-iwasawa 5b2332
    iwa_timecodefx.cpp
shun-iwasawa 5b2332
    iwa_bokehreffx.cpp
shun-iwasawa 5b2332
    iwa_barreldistortfx.cpp
shun-iwasawa 5b2332
    iwa_textfx.cpp
shun-iwasawa 6817df
    iwa_corridorgradientfx.cpp
shun-iwasawa 00ed45
    iwa_spingradientfx.cpp
shun-iwasawa 5903e5
    iwa_lineargradientfx.cpp
shun-iwasawa 25dc51
    iwa_glarefx.cpp
shun-iwasawa a23340
    iwa_fractalnoisefx.cpp
shun-iwasawa af8f7a
    iwa_rainbowfx.cpp
shun-iwasawa 1b1839
    iwa_bokeh_advancedfx.cpp
shun-iwasawa 1b1839
    iwa_bokeh_util.cpp
shun-iwasawa 832993
    iwa_floorbumpfx.cpp
Campbell Barton 9ece9c
)
Toshihiro Shimizu 890ddd
shun-iwasawa 021eef
if(OpenCV_FOUND)
shun-iwasawa 021eef
    list(APPEND SOURCES iwa_bloomfx.cpp)
shun-iwasawa 021eef
endif()
shun-iwasawa 021eef
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)
Tact Yoshida 8d13ab
    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-install_name,@executable_path/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
rim 26a2b2
target_link_libraries(tnzstdfx Qt5::Core Qt5::Gui Qt5::OpenGL ${GL_LIB} ${GLEW_LIB} ${TNZLIBS} ${PTHREAD_LIBRARY})
shun-iwasawa 021eef
shun-iwasawa 021eef
if(OpenCV_FOUND)
shun-iwasawa 021eef
    target_link_libraries(tnzstdfx ${OpenCV_LIBS})
shun-iwasawa 021eef
endif()