Add single header and single source entries for all components as well as the whole library #2
							
								
								
									
										8
									
								
								src/common/wapp_common.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								src/common/wapp_common.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_COMMON_H
 | 
				
			||||||
 | 
					#define WAPP_COMMON_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "aliases.h"
 | 
				
			||||||
 | 
					#include "misc_utils.h"
 | 
				
			||||||
 | 
					#include "platform.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_COMMON_H
 | 
				
			||||||
							
								
								
									
										10
									
								
								src/core/wapp_core.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/core/wapp_core.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_CORE_C
 | 
				
			||||||
 | 
					#define WAPP_CORE_C
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "wapp_core.h"
 | 
				
			||||||
 | 
					#include "mem_arena.c"
 | 
				
			||||||
 | 
					#include "mem_arena_allocator.c"
 | 
				
			||||||
 | 
					#include "mem_allocator.c"
 | 
				
			||||||
 | 
					#include "str8.c"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_CORE_C
 | 
				
			||||||
							
								
								
									
										10
									
								
								src/core/wapp_core.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/core/wapp_core.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_CORE_H
 | 
				
			||||||
 | 
					#define WAPP_CORE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "mem_arena_allocator.h"
 | 
				
			||||||
 | 
					#include "mem_arena.h"
 | 
				
			||||||
 | 
					#include "mem_allocator.h"
 | 
				
			||||||
 | 
					#include "str8.h"
 | 
				
			||||||
 | 
					#include "wapp_common.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_CORE_H
 | 
				
			||||||
							
								
								
									
										17
									
								
								src/os/wapp_os.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/os/wapp_os.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_OS_C
 | 
				
			||||||
 | 
					#define WAPP_OS_C
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "wapp_os.h"
 | 
				
			||||||
 | 
					#include "termcolour_win.c"
 | 
				
			||||||
 | 
					#include "termcolour_posix.c"
 | 
				
			||||||
 | 
					#include "termcolour.c"
 | 
				
			||||||
 | 
					#include "commander_win.c"
 | 
				
			||||||
 | 
					#include "commander.c"
 | 
				
			||||||
 | 
					#include "commander_posix.c"
 | 
				
			||||||
 | 
					#include "mem_utils_win.c"
 | 
				
			||||||
 | 
					#include "mem_utils.c"
 | 
				
			||||||
 | 
					#include "mem_utils_posix.c"
 | 
				
			||||||
 | 
					#include "cpath.c"
 | 
				
			||||||
 | 
					#include "wapp_core.c"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_OS_C
 | 
				
			||||||
							
								
								
									
										17
									
								
								src/os/wapp_os.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/os/wapp_os.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_OS_H
 | 
				
			||||||
 | 
					#define WAPP_OS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "termcolour.h"
 | 
				
			||||||
 | 
					#include "terminal_colours.h"
 | 
				
			||||||
 | 
					#include "shell_utils.h"
 | 
				
			||||||
 | 
					#include "commander_output.h"
 | 
				
			||||||
 | 
					#include "commander.h"
 | 
				
			||||||
 | 
					#include "mem_utils_ops.h"
 | 
				
			||||||
 | 
					#include "mem_utils_win.h"
 | 
				
			||||||
 | 
					#include "mem_utils.h"
 | 
				
			||||||
 | 
					#include "mem_utils_posix.h"
 | 
				
			||||||
 | 
					#include "cpath.h"
 | 
				
			||||||
 | 
					#include "wapp_common.h"
 | 
				
			||||||
 | 
					#include "wapp_core.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_OS_H
 | 
				
			||||||
							
								
								
									
										9
									
								
								src/testing/wapp_testing.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/testing/wapp_testing.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_TESTING_C
 | 
				
			||||||
 | 
					#define WAPP_TESTING_C
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "wapp_testing.h"
 | 
				
			||||||
 | 
					#include "tester.c"
 | 
				
			||||||
 | 
					#include "wapp_core.c"
 | 
				
			||||||
 | 
					#include "wapp_os.c"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_TESTING_C
 | 
				
			||||||
							
								
								
									
										9
									
								
								src/testing/wapp_testing.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/testing/wapp_testing.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_TESTING_H
 | 
				
			||||||
 | 
					#define WAPP_TESTING_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "tester.h"
 | 
				
			||||||
 | 
					#include "wapp_common.h"
 | 
				
			||||||
 | 
					#include "wapp_core.h"
 | 
				
			||||||
 | 
					#include "wapp_os.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_TESTING_H
 | 
				
			||||||
							
								
								
									
										8
									
								
								src/wapp.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								src/wapp.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_C
 | 
				
			||||||
 | 
					#define WAPP_C
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "wapp_core.c"
 | 
				
			||||||
 | 
					#include "wapp_os.c"
 | 
				
			||||||
 | 
					#include "wapp_testing.c"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_C
 | 
				
			||||||
							
								
								
									
										9
									
								
								src/wapp.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/wapp.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					#ifndef WAPP_H
 | 
				
			||||||
 | 
					#define WAPP_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "wapp_common.h"
 | 
				
			||||||
 | 
					#include "wapp_core.h"
 | 
				
			||||||
 | 
					#include "wapp_os.h"
 | 
				
			||||||
 | 
					#include "wapp_testing.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif // !WAPP_H
 | 
				
			||||||
		Reference in New Issue
	
	Block a user