Go to file
2018-12-28 18:39:34 +01:00
include Add setThreadPriority method to TCPServer 2018-08-01 20:48:36 +02:00
src Minor formatting 2018-07-07 17:47:34 +02:00
.gitattributes 👾 Added .gitattributes & .gitignore files 2017-10-29 08:31:01 +01:00
.gitignore Add the build folder to the .gitignore 2018-06-18 22:07:48 +02:00
.travis.yml Travis. make -> make install 2018-12-28 18:39:34 +01:00
CMakeLists.txt Rename it back to libutilswut, move includes into ${WUT_ROOT}/include/libutilswut 2018-06-23 14:45:29 +02:00
libutils.cscope_file_list Make library compatible with WUT 2018-06-17 15:19:51 +02:00
libutils.layout Make library compatible with WUT 2018-06-17 15:19:51 +02:00
README.md Fix example in the README 2018-08-01 20:47:39 +02:00

libutils for WiiU homebrew. (WUT edition)

Build Status

This is a library for common functions.

Features

  • FS utility functions
  • Multiple language support via gettext
  • Common system functions (Exception handler, memory functions, Thread wrapper etc.)
  • String tools

Logging usage

To able to use the logging, you need to compile the target application with follow C/C++ flag:

  -D__LOGGING__

Usage in the application:

socket_lib_init();
log_init(); // Enables broadcast logging.
log_printf("Just prints this text\n");
DEBUG_FUNCTION_LINE("This prints my current function, file and line\n");

Read the logs via the udp_debug_reader.

Usage (TODO)

Link the application with

-lutilswut

You also need to add the include path to your Makefile. Example:

export INCLUDE	:= [...]  -I$(WUT_ROOT)/include/libutils

Check out the header for more information.

Compiling

For compiling and using this lib, you need the wut installed.

Install this static library into your wut folder via:

mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$WUT_ROOT ../
make install

Dependencies

Credits (TODO)

  • Serveral users