Allow # and ; as comment indicators
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
eb0bcaf535
commit
a4b4b41577
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required (VERSION 3.2)
|
||||
project(compilescript
|
||||
VERSION 0.3.2
|
||||
VERSION 0.3.3
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -174,6 +174,11 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
compiler_arguments = buf.substr(16);
|
||||
}
|
||||
else if ((buf.substr(0, 15) == "#compilescript:") ||
|
||||
(buf.substr(0, 15) == ";compilescript:"))
|
||||
{
|
||||
compiler_arguments = buf.substr(15);
|
||||
}
|
||||
else
|
||||
{
|
||||
out << buf << endl;
|
||||
|
|
Reference in New Issue