Skip to content

awrznc/Dtan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dtan

Display the area name.

Run

# Windows
dtan.exe "        sample text        "

# macOS
dtan "        sample text        "

sample_string

Build

Windows

CL

CL .\src\main.c .\src\dtan.c .\src\dtan_windows.c gdi32.lib /link /OUT:dtan.exe /SUBSYSTEM:WINDOWS /entry:mainCRTStartup

GCC

gcc ./src/main.c ./src/dtan.c ./src/dtan_windows.c -o dtan.exe -lgdi32 "-Wl,-subsystem,windows"

CMake (with Ninja)

mkdir -p build && cd build && cmake -GNinja .. && ninja

macOS

Clang

clang ./src/main.c ./src/dtan.c ./src/dtan_macos.m -o dtan -fobjc-arc -x objective-c -Wl,-framework,Cocoa

CMake (with Ninja)

mkdir -p build && cd build && cmake -GNinja .. && ninja