[retro-gtk] Move libretro.h to the libretro directory



commit db73553a45bf3dd0d59b4a37cfbc271db642987d
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun Aug 1 19:17:46 2021 +0200

    Move libretro.h to the libretro directory
    
    Moving it out of the tests directory will help using it as a API
    documentation.

 {tests => libretro}/libretro.h | 0
 meson.build                    | 1 +
 tests/meson.build              | 1 +
 3 files changed, 2 insertions(+)
---
diff --git a/tests/libretro.h b/libretro/libretro.h
similarity index 100%
rename from tests/libretro.h
rename to libretro/libretro.h
diff --git a/meson.build b/meson.build
index 1fe4294..36ff8d1 100644
--- a/meson.build
+++ b/meson.build
@@ -13,6 +13,7 @@ libexecdir = prefix / get_option('libexecdir')
 datadir = prefix / get_option('datadir')
 
 confinc = include_directories('.')
+libretro_inc = include_directories('libretro')
 shared_inc = include_directories('shared')
 
 retro_gtk_version = meson.project_version()
diff --git a/tests/meson.build b/tests/meson.build
index 0eeca78..cb28470 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -22,6 +22,7 @@ retro_reftest = executable('retro-reftest',
 retro_dummy_lib = shared_library(
   'retro-dummy',
   'retro-dummy.c',
+  include_directories: [ libretro_inc ],
   install: get_option('install-tests'),
   install_dir: testlibretrodir,
   soversion: 0,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]