Skip to content

Commit a335525

Browse files
committed
Create CMakeLists.txt
1 parent 873b397 commit a335525

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CMakeLists.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#
2+
# Friction - https://friction.graphics
3+
#
4+
# Copyright (c) Friction contributors
5+
#
6+
# This program is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU General Public License as published by
8+
# the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
10+
#
11+
# This program is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU General Public License for more details.
15+
#
16+
# You should have received a copy of the GNU General Public License
17+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
#
19+
20+
cmake_minimum_required(VERSION 3.0)
21+
project(friction-shader-plugins)
22+
include(GNUInstallDirs)
23+
24+
set(FXS "2dgrid;3dgrid;8bit;analogclock;anamorphic;anmorpic_Ghost_multiLayer;anmorpic_Ghost_SingleLayer;anmorpic_Scaled;anmorpic_Spot;asciiart;barreldistortion;bilateralfilter;blackandwhite;blobs;bloom;BookFlip;Bubbles;bulge;butterflyWaveScrawler;Caustic_Ghosts;cellular;circlecrop;circlepixel;circularblur;clockofclocks;clouds;colorcorrection;colorfullsignal;Crok_2color;crok_fractal;crok_pixelate;Crok_plasnoid_enve;Crok_turbulence;crop;crosshatch;crossstitch;crosswarp;crttv;digitalclock;directionalblur;DoomScreenTransition;dotconnect;edgedetect2;edgedetect;electroniclock;emboss;engrave;fastblur;filmgrain;firespark;fisheye;flame;flip;fractal_soup;glimmer;glimmer_Multilayer;glitch2;glitch;Glow;godrays;hexagontransition;hexmarching;hoop;hoop_multilayer;HorizontalClose;InkDrop2;interference;invert;kaleidoscope;LeftRight;lensblur;loadingeffect;lumakey;mulitiIris_multi_layer;mulitiIris_single_layer;noiseanimelectric;noiseanimlava;noiseblur;Noise;octagrams;oilpaint;pagecurl;parallax;perlintransition;polarfunction;PolkaDotsCurtain;posterize;prismring;pseudopixelsort;radialblur;radialwipe;randomsqaurestransition;rgbsplit;ring;ring_multilayer;ripple;rolling_fire;seascape;sharpen;simpleinkdrop;simplergbwaveform;skyatnight;slices;sparks;star;starnest;stars;startrails;sun;swirl;synthwave;tesla;toonify;tubeclock;tunnel;undulatingBurnOut;VHS;vignette;waveforms;wave;wavelines;wavingparticle;windowslice;windtransition")
25+
foreach(FX ${FXS})
26+
install(
27+
FILES
28+
src/${FX}.frag
29+
src/${FX}.gre
30+
DESTINATION
31+
${CMAKE_INSTALL_DATAROOTDIR}/friction/plugins/shaders/
32+
)
33+
endforeach()

0 commit comments

Comments
 (0)