More on premake5

This commit is contained in:
balhau@balhau.net 2021-12-25 10:19:24 +00:00
parent 3b2fb68973
commit 55f0152b01
No known key found for this signature in database
GPG key ID: 1E666F326A121830
3 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View file

@ -2,6 +2,7 @@ bin/
*Darwin.*
install_manifest.txt
obj/
*.dis
*.o
*.dylib

View file

@ -13,7 +13,7 @@ endif
ifeq ($(config),debug)
RESCOMP = windres
TARGETDIR = bin/Debug
TARGET = $(TARGETDIR)/HelloWorld
TARGET = $(TARGETDIR)/CppCmds
OBJDIR = obj/Debug
DEFINES += -DDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__
INCLUDES += -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0
@ -40,7 +40,7 @@ endif
ifeq ($(config),release)
RESCOMP = windres
TARGETDIR = bin/Release
TARGET = $(TARGETDIR)/HelloWorld
TARGET = $(TARGETDIR)/CppCmds
OBJDIR = obj/Release
DEFINES += -DNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__
INCLUDES += -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0
@ -99,7 +99,7 @@ ifeq (.exe,$(findstring .exe,$(ComSpec)))
endif
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES) | $(TARGETDIR)
@echo Linking HelloWorld
@echo Linking CppCmds
$(SILENT) $(LINKCMD)
$(POSTBUILDCMDS)
@ -122,7 +122,7 @@ else
endif
clean:
@echo Cleaning HelloWorld
@echo Cleaning CppCmds
ifeq (posix,$(SHELLTYPE))
$(SILENT) rm -f $(TARGET)
$(SILENT) rm -rf $(OBJDIR)

View file

@ -2,7 +2,7 @@ workspace "CppLib"
configurations {"Debug", "Release" }
system "linux"
project "HelloWorld"
project "CppCmds"
kind "ConsoleApp"
language "c++"
targetdir "bin/%{cfg.buildcfg}"