From add60913a0ff5cd13be18ed594eab6102e78640c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 3 Jan 2018 20:27:29 +0100 Subject: Add _CONSOLE and _LIB define for windows --- src/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index b3b6d63..1297456 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,6 +33,13 @@ using namespace std::chrono; // This can be done by specifying dependencies under [dependencies.platform] instead of [dependencies], // for example for win32: [dependencies.win32] +// TODO: When `install` command is added, the target executable and shared library dependencies should be put into +// an archive to make the executable distributable (especially on windows). A GUI installer could then extract the archive. + +// TODO: Add optional dependencies [optional_dependencies]. Optional dependencies should also support platform specific dependencies [dependencies.cmake]. +// Might need to make it possible to define variables if a dependency exists (or doesn't exist) because the code might have +// preprocessor like: USE_LIBSODIUM or NO_LIBSODIUM. + #if OS_FAMILY == OS_FAMILY_POSIX #define ferr std::cerr #else -- cgit v1.2.3