فهرست منبع

static lib def

Former-commit-id: 4fbb2cb17657bd8b0ca5a12a0846130e72edb2cb
Alec Jacobson 10 سال پیش
والد
کامیت
c026d99d33

+ 1 - 0
build/Makefile

@@ -3,6 +3,7 @@ all: lib extras examples
 framework: lib extras lib/igl.framework/
 
 # Shared flags etc.
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 $(info Hello, $(IGL_USERNAME)!)
 

+ 1 - 1
build/Makefile.conf

@@ -12,7 +12,6 @@ GG=g++
 #GG=g++-mp-4.3       15.5s
 #GG=g++-mp-4.7       19.9s
 
-CFLAGS += -DIGL_STATIC_LIBRARY
 CFLAGS += -Wall
 CFLAGS += -std=c++11
 
@@ -48,6 +47,7 @@ ifeq ($(IGL_USERNAME),whitinge)
 endif
 
 ifeq ($(IGL_USERNAME),ajx)
+	CFLAGS += -DIGL_STATIC_LIBRARY
 	MOSEKPLATFORM=osx64x86
 	MOSEKVERSION=7
 	IGL_WITH_VIEWER=1

+ 1 - 0
build/Makefile_bbw

@@ -2,6 +2,7 @@
 all: libiglbbw
 debug: libiglbbw
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: OPTFLAGS += -O3 -DNDEBUG $(OPENMP)
 debug: OPTFLAGS += -g -Wall

+ 1 - 0
build/Makefile_boolean

@@ -4,6 +4,7 @@ include Makefile.conf
 all: libiglboolean
 debug: libiglboolean
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG -std=c++11
 debug: CFLAGS += -g -Wall -std=c++11

+ 1 - 0
build/Makefile_boost

@@ -4,6 +4,7 @@ include Makefile.conf
 all: libiglboost
 debug: libiglboost
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG
 debug: CFLAGS += -g -Wall 

+ 1 - 0
build/Makefile_cgal

@@ -3,6 +3,7 @@
 all: libiglcgal
 debug: libiglcgal
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG 
 debug: CFLAGS += -g -Wall -Werror

+ 1 - 0
build/Makefile_comiso

@@ -4,6 +4,7 @@ include Makefile.conf
 all: libiglcomiso
 debug: libiglcomiso
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG -std=c++11
 debug: CFLAGS += -g -Wall -std=c++11

+ 1 - 0
build/Makefile_embree

@@ -4,6 +4,7 @@ include Makefile.conf
 all: libiglembree
 debug: libiglembree
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG -std=c++11
 debug: CFLAGS += -g -Wall -std=c++11

+ 1 - 0
build/Makefile_lim

@@ -4,6 +4,7 @@ include Makefile.conf
 all: libigllim
 debug: libigllim
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG
 debug: CFLAGS += -g -Wall 

+ 1 - 0
build/Makefile_matlab

@@ -1,3 +1,4 @@
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG
 debug: CFLAGS += -g -Wall -Werror

+ 1 - 0
build/Makefile_mosek

@@ -1,3 +1,4 @@
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 
 .PHONY: all

+ 1 - 0
build/Makefile_png

@@ -1,3 +1,4 @@
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG 
 debug: CFLAGS += -g -Wall -Werror

+ 1 - 0
build/Makefile_svd3x3

@@ -1,3 +1,4 @@
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 
 .PHONY: all

+ 1 - 0
build/Makefile_tetgen

@@ -3,6 +3,7 @@
 all: libigltetgen
 debug: libigltetgen
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG 
 debug: CFLAGS += -g -Wall -Werror

+ 1 - 0
build/Makefile_triangle

@@ -3,6 +3,7 @@
 all: libigltriangle
 debug: libigltriangle
 
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG 
 debug: CFLAGS += -g -Wall -Werror

+ 1 - 0
build/Makefile_viewer

@@ -1,3 +1,4 @@
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 all: CFLAGS += -O3 -DNDEBUG -fopenmp
 debug: CFLAGS += -g -Wall -Werror -fopenmp

+ 1 - 0
build/Makefile_xml

@@ -1,3 +1,4 @@
+CFLAGS += -DIGL_STATIC_LIBRARY
 include Makefile.conf
 
 .PHONY: all