17 Commits

Author SHA1 Message Date
Dave Murphy
96cf21131d CMake fixups (#104)
* Provide default $WUT_ROOT

* default install path to /opt/devkitpro/wut

* only reinstall tools when required

* Correct search paths

* allow host paths for programs

* find tools via PATH & CMAKE_FIND_ROOT_PATH

* specify root path without bin component
2019-04-04 12:01:17 +11:00
Ash Logan
c15ed46e7a cmake: don't use include_directories (reverts add09e7)
Turns out this actually doesn't work? god only knows how it didn't get 
caught.
2019-03-18 19:03:31 +11:00
James Benton
edd0753aeb Use devkitpro installed wut-tools. 2019-01-27 14:14:52 +00:00
James Benton
58d967ce0c cmake: Try find DEVKITPPC from PATH. 2019-01-10 10:05:14 +00:00
Ash
56f70b2865 toolchain.cmake: Use include_directories instead of -I
This helps some cmake analysers and the like to better get an idea of how wut works, while having the same effect in terms of actual compiling.
2018-12-09 11:37:57 +00:00
rw-r-r-0644
7055d69c4f Strip debug sections before running elf2rpl to prevent crashes 2018-11-06 19:42:45 +00:00
James Benton
39429c0cbc cmake: Cleanup some CMake stuff. 2018-06-15 13:59:55 +01:00
James Benton
e89b248a15 Cleanup some CMake stuff 2018-06-14 11:44:23 +01:00
James Benton
0556f4627b cmake: Explicitly set CMAKE_CROSSCOMPILING.
Not actually required because it is implicitly set when you modify
CMAKE_SYSTEM_NAME, but it's nice to be explicit.
2018-06-04 18:09:49 +01:00
James Benton
7019171841 cmake: Set BUILD_SHARED_LIBS OFF.
devkitPPC does not support building shared libraries.
2018-06-04 18:09:10 +01:00
James Benton
01606fba86 wut: Define __WIIU__ and __WUT__ for builds. 2018-06-02 10:37:02 +01:00
James Benton
61a84c50b6 tools: Add rplexportgen to produce SHT_RPL_EXPORTS. 2018-05-30 18:56:10 +01:00
James Benton
35d05358c4 Fix wut_create_rpx linking to newlib instead of crt. 2018-05-28 11:39:54 +01:00
James Benton
b4a6eb2f78 Split out crt from wutnewlib to wutcrt.
Can now optionally link newlib, stdc++, devoptab.
2018-05-27 12:12:49 +01:00
James Benton
29d1190fd1 appveyor attempt #1 2018-05-25 13:58:21 +01:00
James Benton
9bcf22e40f Add tools readrpl, udplogserver. 2018-05-23 12:35:24 +01:00
James Benton
fc10605172 Rewrite! 2018-05-23 09:47:28 +01:00