2
0
Эх сурвалжийг харах

Allow multiple platform API files

Max Hilbrunner 11 сар өмнө
parent
commit
8c5debeaed
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      platform/SCsub

+ 1 - 1
platform/SCsub

@@ -60,7 +60,7 @@ register_platform_apis = env.CommandNoCache(
 )
 env.add_source_files(env.platform_sources, register_platform_apis)
 for platform in env.platform_apis:
-    env.add_source_files(env.platform_sources, f"{platform}/api/api.cpp")
+    env.add_source_files(env.platform_sources, f"{platform}/api/*.cpp")
 
 lib = env.add_library("platform", env.platform_sources)
 env.Prepend(LIBS=[lib])