Add build directives to most cpp files
parent
53173dd7c7
commit
d9e6e808d8
|
|
@ -1,3 +1,8 @@
|
|||
// build-directive: unit-name(fossvg)
|
||||
// build-directive: link(cli.so)
|
||||
// build-directive: ldflags(-lglfw -lrt -lm -ldl)
|
||||
// build-directive: out(fossvg)
|
||||
// build-directive: static(false)
|
||||
// Copyright 2022, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// Author(s):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// build-directive: unit-name(lib/cli)
|
||||
// build-directive: out(lib/cli)
|
||||
// build-directive: shared(true)
|
||||
// build-directive: cflags(-fPIC -std=c++20)
|
||||
// Copyright 2022, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// Author(s):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// build-directive: unit-name(lib/file)
|
||||
// build-directive: out(lib/file)
|
||||
// build-directive: shared(true)
|
||||
// build-directive: cflags(-fPIC)
|
||||
// Copyright 2022, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// Author(s):
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
#include <tinyutf8/tinyutf8.h>
|
||||
#include <string>
|
||||
#include "error.hpp"
|
||||
#include "../../.endianness"
|
||||
#include "endianness"
|
||||
|
||||
#ifdef FOSSVG_ENDIAN_BIG_WORD
|
||||
#error "Honeywell-316-style endianness is not supported. If you feel like it should, feel free to participate in the project to maintain it."
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// build-directive: unit-name(lib/nbt)
|
||||
// build-directive: out(lib/nbt)
|
||||
// build-directive: shared(true)
|
||||
// build-directive: cflags(-fPIC)
|
||||
// Copyright 2022, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify it
|
||||
|
|
@ -23,7 +27,7 @@
|
|||
#include "javacompat.hpp"
|
||||
|
||||
|
||||
#include "../../.endianness"
|
||||
#include "endianness"
|
||||
#ifdef FOSSVG_ENDIAN_BIG_WORD
|
||||
#error "Honeywell-316-style endianness is not supported. If you feel like it should, feel free to participate in the project to maintain it."
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "../error.hpp"
|
||||
#include "error.hpp"
|
||||
|
||||
namespace network {
|
||||
struct Connection {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// build-directive: unit-name(lib/net/tcp_client)
|
||||
// build-directive: out(lib/net/tcp_client)
|
||||
// build-directive: shared(true)
|
||||
// build-directive: cflags(-fPIC)
|
||||
// Copyright 2022, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// Author(s):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// build-directive: unit-name(lib/net/tcp_server)
|
||||
// build-directive: out(lib/net/tcp_server)
|
||||
// build-directive: shared(true)
|
||||
// build-directive: cflags(-fPIC)
|
||||
// Copyright 2022, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// Author(s):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// build-directive: unit-name(lib/region)
|
||||
// build-directive: out(lib/region)
|
||||
// build-directive: shared(true)
|
||||
// build-directive: cflags(-fPIC)
|
||||
// Copyright 2023, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// Author(s):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
// build-directive: unit-name(lib/zlibutil)
|
||||
// build-directive: out(lib/zlibutil)
|
||||
// build-directive: shared(true)
|
||||
// build-directive: cflags(-fPIC)
|
||||
// Copyright 2022, FOSS-VG Developers and Contributers
|
||||
//
|
||||
// Author(s):
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
#include "../lib/cli.hpp"
|
||||
#include "../lib/error.hpp"
|
||||
#include "cli.hpp"
|
||||
#include "error.hpp"
|
||||
|
||||
#define EXIT_SUCCESS 0
|
||||
#define EXIT_RUNTIME 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue