Skip to content

Commit

Permalink
Merge branch 'enable-string-macro-in-agde-sample' into 'dev'
Browse files Browse the repository at this point in the history
Use string macro directly in AGDE project

See merge request Sharpmake/sharpmake!276
  • Loading branch information
belkiss committed Apr 13, 2022
2 parents b36c77e + c56a17f commit b3e7520
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions samples/HelloAndroidAgde/codebase/exe/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@
#include "util_static_lib2.h"
#include "sub folder/useless_static_lib2.h"

#define EXPAND(x) #x
#define STRINGIFY(x) EXPAND(x)

int exe()
{

Util2::Log("Hello Android World, from " STRINGIFY(CREATION_DATE) "!");
Util2::Log("Hello Android World, from " CREATION_DATE "!");

#if _DEBUG
Util2::Log("- Exe is built in Debug !");
Expand Down

0 comments on commit b3e7520

Please sign in to comment.