Skip to content

Commit 00892bd

Browse files
committed
WIP
1 parent b0d8985 commit 00892bd

134 files changed

Lines changed: 7115 additions & 4236 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build/backend_linux.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def generate_build(name, user_options = None):
278278

279279
helper.add_raw('PL_STATIC_LINK_LIBRARIES="')
280280
for link in settings.static_link_libraries:
281-
helper.add_raw('-l:' + link + '.a ')
281+
helper.add_raw('-l' + link + ' ')
282282
helper.add_raw('"\n')
283283

284284
helper.add_raw('PL_DYNAMIC_LINK_LIBRARIES="')
@@ -328,7 +328,7 @@ def generate_build(name, user_options = None):
328328
helper.print_line('${YELLOW}Step: ' + settings.target_name +'${NC}')
329329
helper.print_line('${YELLOW}~~~~~~~~~~~~~~~~~~~${NC}')
330330
helper.print_line('${CYAN}Compiling and Linking...${NC}')
331-
helper.add_line('gcc -shared $PL_SOURCES $PL_INCLUDE_DIRECTORIES $PL_DEFINES $PL_COMPILER_FLAGS $PL_INCLUDE_DIRECTORIES $PL_LINK_DIRECTORIES $PL_STATIC_LINK_LIBRARIES $PL_DYNAMIC_LINK_LIBRARIES $PL_LINKER_FLAGS -o "./' + settings.output_directory + '/' + settings.output_binary + settings.output_binary_extension +'"')
331+
helper.add_line('gcc -shared $PL_SOURCES $PL_INCLUDE_DIRECTORIES $PL_DEFINES $PL_COMPILER_FLAGS $PL_INCLUDE_DIRECTORIES $PL_LINK_DIRECTORIES $PL_STATIC_LINK_LIBRARIES $PL_DYNAMIC_LINK_LIBRARIES $PL_LINKER_FLAGS -o "./' + settings.output_directory + '/lib' + settings.output_binary + settings.output_binary_extension +'"')
332332
helper.add_spacing()
333333

334334
# check build status
@@ -374,7 +374,7 @@ def generate_build(name, user_options = None):
374374
if settings.target_type == pl.TargetType.STATIC_LIBRARY:
375375
helper.add_spacing()
376376
helper.add_comment('combine object files into a static lib')
377-
helper.add_line('ar rcs ./' + settings.output_directory + '/' + settings.output_binary + '.a ./' + settings.output_directory + '/*.o')
377+
helper.add_line('ar rcs ./' + settings.output_directory + '/lib' + settings.output_binary + '.a ./' + settings.output_directory + '/*.o')
378378
helper.add_line('rm ./' + settings.output_directory + '/*.o')
379379
helper.add_spacing()
380380
helper.add_spacing()

build/backend_macos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def generate_build(name, user_options = None):
342342
helper.print_line('${YELLOW}Step: ' + settings.target_name +'${NC}')
343343
helper.print_line('${YELLOW}~~~~~~~~~~~~~~~~~~~${NC}')
344344
helper.print_line('${CYAN}Compiling and Linking...${NC}')
345-
helper.add_line('clang -shared $PL_SOURCES $PL_INCLUDE_DIRECTORIES $PL_DEFINES $PL_COMPILER_FLAGS $PL_INCLUDE_DIRECTORIES $PL_LINK_DIRECTORIES $PL_STATIC_LINK_LIBRARIES $PL_DYNAMIC_LINK_LIBRARIES $PL_LINK_FRAMEWORKS $PL_LINKER_FLAGS -o "./' + settings.output_directory + '/' + settings.output_binary + settings.output_binary_extension +'"')
345+
helper.add_line('clang -shared $PL_SOURCES $PL_INCLUDE_DIRECTORIES $PL_DEFINES $PL_COMPILER_FLAGS $PL_INCLUDE_DIRECTORIES $PL_LINK_DIRECTORIES $PL_STATIC_LINK_LIBRARIES $PL_DYNAMIC_LINK_LIBRARIES $PL_LINK_FRAMEWORKS $PL_LINKER_FLAGS -o "./' + settings.output_directory + '/lib' + settings.output_binary + settings.output_binary_extension +'"')
346346
helper.add_spacing()
347347

348348
# check build status

build/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# [SECTION] version
1515
#-----------------------------------------------------------------------------
1616

17-
__version__ = "1.4.0"
17+
__version__ = "1.5.0"
1818

1919
#-----------------------------------------------------------------------------
2020
# [SECTION] imports

build/deploy_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from codecs import open
33
import os
44

5-
wip_version = "1.4.0"
5+
wip_version = "1.5.0"
66

77
def version_number():
88
"""This function reads the version number which is populated by github actions"""

docs/version.txt

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -53,36 +53,36 @@ the API is complete. It just means we won't break what currently exists.
5353

5454
## Stable Extensions
5555

56-
* Log v1.0.0 (pl_log_ext.h)
57-
* Config v1.1.0 (pl_config_ext.h)
58-
* Console v1.0.0 (pl_console_ext.h)
59-
* Draw v2.0.0 (pl_draw_ext.h)
60-
* DXT v1.0.0 (pl_dxt_ext.h)
61-
* GPU Allocators v1.0.0 (pl_gpu_allocators_ext.h)
62-
* Graphics v1.7.2 (pl_graphics_ext.h)
63-
* Image v1.1.0 (pl_image_ext.h)
64-
* Job v2.2.0 (pl_job_ext.h)
65-
* Atomics v1.0.0 (pl_platform_ext.h)
56+
* Log v2.0.0 (pl_log_ext.h)
57+
* Config v1.2.0 (pl_config_ext.h)
58+
* Console v1.1.0 (pl_console_ext.h)
59+
* Draw v2.1.0 (pl_draw_ext.h)
60+
* DXT v1.1.0 (pl_dxt_ext.h)
61+
* GPU Allocators v1.1.0 (pl_gpu_allocators_ext.h)
62+
* Graphics v1.8.0 (pl_graphics_ext.h)
63+
* Image v1.2.0 (pl_image_ext.h)
64+
* Job v2.3.0 (pl_job_ext.h)
65+
* Atomics v2.0.0 (pl_platform_ext.h)
6666
* File v1.1.0 (pl_platform_ext.h)
6767
* Network v1.0.0 (pl_platform_ext.h)
6868
* Threads v1.0.1 (pl_platform_ext.h)
6969
* Virtual Memory v1.0.0 (pl_platform_ext.h)
70-
* Profile v1.0.0 (pl_profile_ext.h)
71-
* Rectangle Packing v1.0.0 (pl_rect_pack_ext.h)
72-
* Screen Log v2.1.0 (pl_screen_log_ext.h)
73-
* Shader v1.3.0 (pl_shader_ext.h)
74-
* Starter v1.3.4 (pl_starter_ext.h)
75-
* Stats v1.0.0 (pl_stats_ext.h)
76-
* String Interning v1.0.2 (pl_string_intern_ext.h)
77-
* UI Tools v1.0.0 (pl_tools_ext.h)
78-
* UI v1.0.0 (pl_ui_ext.h)
79-
* Pak Files v1.1.0 (pl_pak_ext.h)
80-
* Date & Time v1.0.1 (pl_datetime_ext.h)
81-
* Compression v1.0.0 (pl_compress_ext.h)
82-
* Virtual File System v2.0.0 (pl_vfs_ext.h)
83-
* ECS v1.0.0 (pl_ecs_ext.h)
84-
* DDS v1.0.0 (pl_dds_ext.h)
85-
* Resource v1.4.0 (pl_resource_ext.h)
70+
* Profile v2.0.0 (pl_profile_ext.h)
71+
* Rectangle Packing v1.1.0 (pl_rect_pack_ext.h)
72+
* Screen Log v2.2.0 (pl_screen_log_ext.h)
73+
* Shader v1.4.0 (pl_shader_ext.h)
74+
* Starter v1.4.0 (pl_starter_ext.h)
75+
* Stats v1.1.0 (pl_stats_ext.h)
76+
* String Interning v2.0.0 (pl_string_intern_ext.h)
77+
* UI Tools v1.1.0 (pl_tools_ext.h)
78+
* UI v1.1.0 (pl_ui_ext.h)
79+
* Pak Files v1.2.0 (pl_pak_ext.h)
80+
* Date & Time v1.1.0 (pl_datetime_ext.h)
81+
* Compression v1.1.0 (pl_compress_ext.h)
82+
* Virtual File System v2.1.0 (pl_vfs_ext.h)
83+
* ECS v1.1.0 (pl_ecs_ext.h)
84+
* DDS v1.1.0 (pl_dds_ext.h)
85+
* Resource v1.5.0 (pl_resource_ext.h)
8686

8787
## Nearly Stable Extensions
8888

0 commit comments

Comments
 (0)