Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can build libprojectM+renderer+presetfactories and projectM-SDL with …
…some Make. cmake status: BTFO
- Loading branch information
Showing
19 changed files
with
148 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "build"] | ||
path = build | ||
url = https://github.com/c3d/build.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
all: src.build | ||
|
||
src.build: | ||
$(MAKE) -C src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.PHONY: libprojectM SDL | ||
|
||
all: libprojectM SDL | ||
|
||
libprojectM: | ||
$(MAKE) -C libprojectM | ||
|
||
SDL: | ||
$(MAKE) -C projectM-sdl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
BUILD=../../build/ | ||
|
||
SOURCES=projectM.cpp PCM.cpp Preset.cpp fftsg.cpp KeyHandler.cpp \ | ||
timer.cpp wipemalloc.cpp PresetLoader.cpp PresetChooser.cpp \ | ||
PipelineMerger.cpp ConfigFile.cpp \ | ||
TimeKeeper.cpp PresetFactory.cpp PresetFactoryManager.cpp | ||
|
||
CONFIG=libgl | ||
|
||
CPPFLAGS+= -I . -I Renderer | ||
LDFLAGS+=-lgl | ||
LIBRARIES=Renderer MilkdropPresetFactory NativePresetFactory | ||
|
||
PRODUCTS=libprojectM.lib | ||
|
||
include $(BUILD)rules.mk | ||
|
||
$(BUILD)rules.mk: | ||
cd .. && git submodule update --init --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
BUILD=../../../build/ | ||
|
||
SOURCES= \ | ||
BuiltinFuncs.cpp \ | ||
Func.cpp MilkdropPreset.cpp \ | ||
PresetFrameIO.cpp \ | ||
CustomShape.cpp \ | ||
Eval.cpp \ | ||
MilkdropPresetFactory.cpp \ | ||
PerPixelEqn.cpp BuiltinParams.cpp \ | ||
InitCond.cpp Parser.cpp \ | ||
CustomWave.cpp Expr.cpp \ | ||
PerPointEqn.cpp Param.cpp \ | ||
PerFrameEqn.cpp \ | ||
IdlePreset.cpp \ | ||
../PresetFactory.cpp \ | ||
|
||
|
||
CPPFLAGS+= -I. -I.. | ||
#LDFLAGS+=-lftgl -lgl -lfreetype -lprojectM | ||
|
||
#LIBRARIES=../libprojectM | ||
PRODUCTS=MilkdropPresetFactory.lib | ||
|
||
include $(BUILD)rules.mk | ||
|
||
$(BUILD)rules.mk: | ||
cd .. && git submodule update --init --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
BUILD=../../../build/ | ||
|
||
SOURCES=NativePresetFactory.cpp | ||
CPPFLAGS+= -I. -I.. | ||
PRODUCTS=NativePresetFactory.lib | ||
|
||
include $(BUILD)rules.mk | ||
|
||
$(BUILD)rules.mk: | ||
cd .. && git submodule update --init --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ extern "C" | |
} | ||
#endif | ||
|
||
#ifdef MACOS | ||
#ifdef __APPLE__ | ||
extern "C" | ||
{ | ||
#include <errno.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
BUILD=../../../build/ | ||
|
||
SOURCES= \ | ||
SOIL2/image_DXT.c \ | ||
SOIL2/image_helper.c \ | ||
SOIL2/SOIL2.c \ | ||
SOIL2/etc1_utils.c \ | ||
FBO.cpp \ | ||
MilkdropWaveform.cpp \ | ||
PerPixelMesh.cpp \ | ||
Pipeline.cpp \ | ||
Renderer.cpp \ | ||
ShaderEngine.cpp \ | ||
UserTexture.cpp \ | ||
Waveform.cpp \ | ||
Filters.cpp \ | ||
PerlinNoise.cpp \ | ||
PipelineContext.cpp \ | ||
Renderable.cpp \ | ||
BeatDetect.cpp \ | ||
Shader.cpp \ | ||
TextureManager.cpp \ | ||
VideoEcho.cpp \ | ||
RenderItemDistanceMetric.cpp \ | ||
RenderItemMatcher.cpp \ | ||
../KeyHandler.cpp | ||
|
||
|
||
CONFIG=libftgl libGL libfreetype | ||
|
||
CPPFLAGS+= -I. -I.. -ISOIL2 | ||
LDFLAGS+=-lftgl -lgl -lfreetype -lprojectM | ||
|
||
LIBRARIES=../libprojectM | ||
PRODUCTS=Renderer.lib | ||
|
||
include $(BUILD)rules.mk | ||
|
||
$(BUILD)rules.mk: | ||
cd .. && git submodule update --init --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
BUILD=../../build/ | ||
|
||
SOURCES= \ | ||
pmSDL.cpp \ | ||
projectM_SDL_main.cpp | ||
|
||
CPPFLAGS+=-I. -I../libprojectM | ||
CPPFLAGS_macosx-clang+=-F/Library/Frameworks | ||
|
||
LDFLAGS+=-framework OpenGL -F/Library/Frameworks -framework SDL2 | ||
LIBRARIES=../libprojectM ../libprojectM/Renderer ../libprojectM/NativePresetFactory ../libprojectM/MilkdropPresetFactory | ||
|
||
PRODUCTS=projectMSDL.exe | ||
|
||
include $(BUILD)rules.mk | ||
|
||
$(BUILD)rules.mk: | ||
cd .. && git submodule update --init --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters