I'm trying to print a message with QMake but I have problems with extensions:
lib_name = $$1
message("test1: $$MYPATH/$$lib_name/src/$$lib_name.pri");
message("test2: $$MYPATH/$$lib_name/src/$$lib_name");
For some reason, test1
doesn't print the correct path. It just prints the path until src/
. But, test2
is ok. It prints everything until the value in $$1
.
Any workaround?