~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to intern/smoke/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id$
2
1
# ***** BEGIN GPL LICENSE BLOCK *****
3
2
#
4
3
# This program is free software; you can redistribute it and/or
24
23
#
25
24
# ***** END GPL LICENSE BLOCK *****
26
25
 
27
 
SET(INC ${PNG_INC} ${ZLIB_INC} intern ../../extern/bullet2/src ../memutil ../guardealloc)
28
 
 
29
 
FILE(GLOB SRC intern/*.cpp)
30
 
 
31
 
IF(WITH_OPENMP)
32
 
                ADD_DEFINITIONS(-DPARALLEL=1)
33
 
ENDIF(WITH_OPENMP)
34
 
 
35
 
IF(WITH_FFTW3)
36
 
        ADD_DEFINITIONS(-DFFTW3=1)
37
 
        SET(INC ${INC} ${FFTW3_INC})
38
 
ENDIF(WITH_FFTW3)
39
 
 
40
 
 
41
 
BLENDERLIB(bf_smoke "${SRC}" "${INC}")
42
 
#, libtype='blender', priority = 0 )
 
26
set(INC
 
27
        intern
 
28
        ../memutil
 
29
        ../../extern/bullet2/src
 
30
)
 
31
 
 
32
set(INC_SYS
 
33
        ${PNG_INCLUDE_DIR}
 
34
        ${ZLIB_INCLUDE_DIRS}
 
35
)
 
36
 
 
37
set(SRC
 
38
        intern/EIGENVALUE_HELPER.cpp
 
39
        intern/FLUID_3D.cpp
 
40
        intern/FLUID_3D_SOLVERS.cpp
 
41
        intern/FLUID_3D_STATIC.cpp
 
42
        intern/LU_HELPER.cpp
 
43
        intern/SPHERE.cpp
 
44
        intern/WTURBULENCE.cpp
 
45
        intern/smoke_API.cpp
 
46
 
 
47
        extern/smoke_API.h
 
48
        intern/EIGENVALUE_HELPER.h
 
49
        intern/FFT_NOISE.h
 
50
        intern/FLUID_3D.h
 
51
        intern/IMAGE.h
 
52
        intern/INTERPOLATE.h
 
53
        intern/LU_HELPER.h
 
54
        intern/MERSENNETWISTER.h
 
55
        intern/OBSTACLE.h
 
56
        intern/SPHERE.h
 
57
        intern/VEC3.h
 
58
        intern/WAVELET_NOISE.h
 
59
        intern/WTURBULENCE.h
 
60
        intern/tnt/jama_eig.h
 
61
        intern/tnt/jama_lu.h
 
62
        intern/tnt/tnt.h
 
63
        intern/tnt/tnt_array1d.h
 
64
        intern/tnt/tnt_array1d_utils.h
 
65
        intern/tnt/tnt_array2d.h
 
66
        intern/tnt/tnt_array2d_utils.h
 
67
        intern/tnt/tnt_array3d.h
 
68
        intern/tnt/tnt_array3d_utils.h
 
69
        intern/tnt/tnt_cmat.h
 
70
        intern/tnt/tnt_fortran_array1d.h
 
71
        intern/tnt/tnt_fortran_array1d_utils.h
 
72
        intern/tnt/tnt_fortran_array2d.h
 
73
        intern/tnt/tnt_fortran_array2d_utils.h
 
74
        intern/tnt/tnt_fortran_array3d.h
 
75
        intern/tnt/tnt_fortran_array3d_utils.h
 
76
        intern/tnt/tnt_i_refvec.h
 
77
        intern/tnt/tnt_math_utils.h
 
78
        intern/tnt/tnt_sparse_matrix_csr.h
 
79
        intern/tnt/tnt_stopwatch.h
 
80
        intern/tnt/tnt_subscript.h
 
81
        intern/tnt/tnt_vec.h
 
82
        intern/tnt/tnt_version.h
 
83
)
 
84
 
 
85
# quiet -Wundef
 
86
add_definitions(-DDDF_DEBUG=0)
 
87
 
 
88
if(WITH_OPENMP)
 
89
        add_definitions(-DPARALLEL=1)
 
90
else()
 
91
        add_definitions(-DPARALLEL=0)
 
92
endif()
 
93
 
 
94
if(WITH_FFTW3)
 
95
        add_definitions(-DWITH_FFTW3)
 
96
        list(APPEND INC
 
97
                ${FFTW3_INCLUDE_DIRS}
 
98
        )
 
99
endif()
 
100
 
 
101
blender_add_lib(bf_intern_smoke "${SRC}" "${INC}" "${INC_SYS}")
 
102