Commit Graph

675 Commits

Author SHA1 Message Date
James Benton
d47212a867 Update README.md to reflect changes to cmake functions. 2019-11-23 10:13:41 +00:00
James Benton
bffffdf515 samples/cmake: Update to use new cmake functions. 2019-11-23 10:12:28 +00:00
James Benton
217bf98474 cmake: Fix new wut_create_rpl for RPL files.
Forgot RPL was a thing, was only working for RPX before.
2019-11-23 10:10:18 +00:00
Maschell
35c20d8700 sysapp: add _SYSGetSystemApplicationTitleId(SystemAppId id); 2019-11-22 18:07:37 +00:00
James Benton
c74eb52c67 cmake: Add new and improved wut_create_rpl implementation.
This safely deprecates the old usage of wut_create_rpl.

Benefits are:
- Previously it would re-generate the RPX every time even with no changes.
- No longer creates a new build target just for the rpx file
2019-11-22 18:02:57 +00:00
James Benton
159284a93d gx2: Add const to pointers where possible. 2019-11-22 17:42:16 +00:00
James Benton
0742efdf06 Move from travis to github actions. 2019-11-20 17:25:50 +00:00
James Benton
ac36f99f62 Cleanup tests cmake scripts. 2019-11-20 17:25:50 +00:00
James Benton
6d63b6cf2d cmake: Cleanup cmake based samples. 2019-11-20 12:49:02 +00:00
James
92cedbe684
Update README.md 2019-11-20 12:23:22 +00:00
James Benton
79698376cd cmake: Add HINTS to toolchain file usage of find_program
Seems to help Windows CMake.
2019-11-20 11:29:37 +00:00
James Benton
9998acd4b3 gx2: Add missing primitive modes. 2019-11-19 23:09:39 +00:00
James Benton
8223bad1a3 coreinit/mcp: Fix MCAppType enum. 2019-11-19 21:44:23 +00:00
James Benton
695503571b coreinit: Fix MCPDevice structure. 2019-11-19 21:41:34 +00:00
Maschell
fe230e06cc coreinit: add OSGetOSID() and __OSGetProcessSDKVersion() 2019-11-19 21:35:48 +00:00
Maschell
d1d2da63ad mcp: update the MCPTitleListType struct 2019-11-19 21:34:40 +00:00
Maschell
b712686c38 mcp: update the MCPAppType struct 2019-11-19 21:34:40 +00:00
Maschell
7f2c9b5d69 nn_acp: add the ACPMetaXml struct 2019-11-19 21:34:32 +00:00
James Benton
f0ed4fb91f gx2: Add GX2Get{Geometry,Vertex,Pixel}Uniform{Block,Var}. 2019-11-19 09:41:18 +00:00
James Benton
f2f82b1c08 gx2: Fix data parameter type for GX2Set*UniformReg 2019-11-19 09:39:51 +00:00
James Benton
9f0ff0f624 cmake: Set find path before using find_program.
Also use find_program for compilers.
2019-11-18 16:20:49 +00:00
Ash
65a701d874
Merge pull request #108 from Crayon2000/feature-more-functions
Add missing function declarations
2019-07-04 14:55:02 +10:00
Crayon2000
df93bf758f Add missing function declarations
Added:
* inet_ntoa_r
* inet_ntop
* inet_pton
* VPADGetTPCalibratedPointEx
2019-07-02 01:04:27 -04:00
Crayon
bb35c14451 Fix URL and status (#107) 2019-06-20 14:37:26 +01:00
Ash
ed4e168d21
Merge pull request #105 from devkitPro/merge-build-refactor
wut 1.0.0-beta9
2019-05-22 17:32:07 +10:00
Ash Logan
540b1de3a7 samples: Remove deprecated cmake macros 2019-05-22 11:56:28 +10:00
Ash Logan
3452359c0c cafe: remove snd_core and snd_user 2019-05-04 20:56:31 +10:00
Ash Logan
6deadfc192 changelog: Add note about entrypoint changes 2019-05-03 18:18:30 +10:00
Ash Logan
65d7bdd3e5 cmake: Add libwut to standard include dirs
apparently cmake also has a CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES
2019-05-03 18:08:42 +10:00
Ash Logan
4374621f4b wut.ld: make __rpx_start the default entry symbol, remove rpx.specs
ld will now auto-link everything to __rpx_start and pull in the correct 
crt *unless* rpl.specs is given on the commandline
2019-05-03 18:02:15 +10:00
Ash Logan
5528236b56 wut.ld: don't EXTERN(_start)
This made _start be an always undefined symbol, which kinda backdoors 
ld's existing system for determining entrypoints. This will be important 
in the next commit ;D
2019-05-03 17:59:34 +10:00
Ash Logan
5087ca6c88 cmake: Add libwut as a standard library
https://gitlab.kitware.com/cmake/cmake/issues/18222
2019-05-03 17:48:59 +10:00
Ash Logan
6e08d7791e wut.mk: add stubs, add deprecation warnings 2019-04-23 21:24:51 +10:00
Ash Logan
49c0295a84 changelog: Note deprecation of static libs, wut_enable_* 2019-04-23 21:05:10 +10:00
Ash Logan
f49667591d Makefile: don't bother with .gnu.warning, just generate empty stubs 2019-04-23 21:04:28 +10:00
Ash Logan
d542fdc438 wut.cmake: Use wut.specs and libwut in wut_create_rpx 2019-04-23 20:40:09 +10:00
Ash Logan
4828abdc1a wut.cmake: Deprecate old wut_enable_* macros 2019-04-23 20:37:47 +10:00
Ash Logan
b02d37836f Makefile: Generate stub cafe libraries w/ .gnu.warning sections 2019-04-23 20:37:17 +10:00
Ash Logan
6aac84dc6f Makefile: change directories to order-only 2019-04-23 19:50:04 +10:00
Ash Logan
28ffb89c02 Merge 'build-refactor' attempt #1; get upstream changes 2019-04-23 18:37:05 +10:00
Ash Logan
46d6edd81b wut.ld: Concat and garbage-collect rpx import sections 2019-04-22 14:42:46 +10:00
Ash Logan
55007e5ec7 changelog: start writing down what's changed 2019-04-22 13:08:36 +10:00
Ash Logan
f92657e8b5 coreinit: Use rplwrap for exit (__rplwrap_exit) 2019-04-22 12:43:37 +10:00
Ash Logan
f7af9c3316 include/coreinit: First pass at coreinit/codegen.h 2019-04-22 10:12:28 +10:00
Ash Logan
4278819a01 samples: make WUT_ROOT makefile-local, always rely on DEVKITPRO 2019-04-09 20:59:32 +10:00
Ash Logan
09c16421d8 samples: Add explicit rules for .elf intermediates 2019-04-09 20:44:54 +10:00
Ash Logan
fb9b7ab3fb wutstdc++: remove volatile keyword
Who knows? not me. Seems to work okay without it
wut_stdcpp.cpp
/home/ash/src/wut/libraries/wutstdc++/wut_stdcpp.cpp:3:9: error: 
expected '(' before '__volatile__'
 __asm__ __volatile__(
         ^~~~~~~~~~~~
         (
/home/ash/src/wut/libraries/wutstdc++/wut_stdcpp.cpp:4:4: error: 
expected unqualified-id before string constant
    "\t.section\t.text.__wrap___gxx_personality_v0,\"ax\",@progbits\n"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ash/src/wut/libraries/wutstdc++/wut_stdcpp.cpp:3:22: error: 
expected ')' before string constant
 __asm__ __volatile__(
                     ~^
                      )
    "\t.section\t.text.__wrap___gxx_personality_v0,\"ax\",@progbits\n"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitPPC/base_rules:13: wut_stdcpp.o] 
Error 1
2019-04-09 20:41:45 +10:00
Ash Logan
869fe709ea Revert "wutstdc++: Move __gxx_personality to dedicated Assembly file"
This reverts commit 370eeb28e9.
I didn't know what this did, sorry.
2019-04-09 20:26:35 +10:00
Ash Logan
81285c71f6 samples: port helloworld_cpp to make 2019-04-09 19:28:27 +10:00
Ash Logan
b7a12a04a7 travis: Update WUT_ROOT temporary location 2019-04-09 19:25:27 +10:00