Skip to content

Commit

Permalink
do soundpipe step automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-tee committed Sep 4, 2020
1 parent 1e44506 commit d2fe8c1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -29,7 +29,6 @@ Building

Build and install all plugins

cd ext/Soundpipe && CC=gcc make && cd ../..
meson build
ninja -C build
ninja -C build install
Expand Down
12 changes: 11 additions & 1 deletion ext/Soundpipe/meson.build
Expand Up @@ -15,13 +15,23 @@
# You should have received a copy of the GNU Affero General Public License
# along with ZPlugins. If not, see <https://www.gnu.org/licenses/>.

# things that need to be built before
pre_soundpipe = custom_target (
'pre-soundpipe',
output: 'pre-soundpipe',
command: [
'cd', meson.current_source_dir (), '&&',
'CC=' + cc.get_id (), 'make',
])

subdir('modules')
subdir('lib')

soundpipe_lib = static_library (
'soundpipe',
'soundpipe-lib',
soundpipe_lib_files,
soundpipe_module_files,
pre_soundpipe,
include_directories: [
'h',
join_paths ('lib', 'dr_wav'),
Expand Down
5 changes: 0 additions & 5 deletions meson.build
Expand Up @@ -140,10 +140,5 @@ if os_windows
]
endif

#add_project_arguments (
#common_cflags,
#language: [ 'c' ]
#)

subdir ('ext')
subdir ('plugins')

0 comments on commit d2fe8c1

Please sign in to comment.