-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from sabel83/auto_engine
auto engine
- Loading branch information
Showing
46 changed files
with
2,262 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Metashell - Interactive C++ template metaprogramming shell | ||
# Copyright (C) 2019, Abel Sinkovics (abel@sinkovics.hu) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
project(app_stub_cl_de) | ||
|
||
aux_source_directory(. SOURCES) | ||
add_executable(${PROJECT_NAME} ${SOURCES}) | ||
|
||
enable_warnings(${PROJECT_NAME}) | ||
|
||
target_link_libraries( | ||
${PROJECT_NAME} | ||
|
||
metashell::compiler_stub | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Metashell - Interactive C++ template metaprogramming shell | ||
// Copyright (C) 2019, Abel Sinkovics (abel@sinkovics.hu) | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
#include <metashell/compiler_stub/cl_stub.hpp> | ||
|
||
using namespace metashell; | ||
|
||
int main(int argc_, const char* argv_[]) | ||
{ | ||
compiler_stub::cl_stub compiler( | ||
"Microsoft (R) C/C++-Optimierungscompiler Version 19.16.27025.1 " | ||
"f\xc3\xbcr x86\n" | ||
"Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.\n" | ||
"\n", | ||
|
||
"Syntax: cl [ Option... ] Dateiname... [ /link Linkeroption... ]\n\n", | ||
|
||
[](const std::string& option_) { | ||
return "cl : Befehlszeile warning D9002 : Unbekannte Option \"" + | ||
option_ + | ||
"\" wird ignoriert.\n" | ||
"cl : Befehlszeile error D8003 : Name der Quelldatei fehlt.\n"; | ||
}); | ||
|
||
return compiler.run(argc_, argv_).value(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Metashell - Interactive C++ template metaprogramming shell | ||
# Copyright (C) 2019, Abel Sinkovics (abel@sinkovics.hu) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
project(app_stub_cl_en) | ||
|
||
aux_source_directory(. SOURCES) | ||
add_executable(${PROJECT_NAME} ${SOURCES}) | ||
|
||
enable_warnings(${PROJECT_NAME}) | ||
|
||
target_link_libraries( | ||
${PROJECT_NAME} | ||
|
||
metashell::compiler_stub | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Metashell - Interactive C++ template metaprogramming shell | ||
// Copyright (C) 2019, Abel Sinkovics (abel@sinkovics.hu) | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
#include <metashell/compiler_stub/cl_stub.hpp> | ||
|
||
using namespace metashell; | ||
|
||
int main(int argc_, const char* argv_[]) | ||
{ | ||
compiler_stub::cl_stub compiler( | ||
"Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27025.1 for x86\n" | ||
"Copyright (C) Microsoft Corporation. All rights reserved.\n" | ||
"\n", | ||
|
||
"usage: cl [ option... ] filename... [ /link linkoption... ]\n", | ||
|
||
[](const std::string& option_) { | ||
return "cl : Command line warning D9002 : ignoring unknown option '" + | ||
option_ + | ||
"'\n" | ||
"cl : Command line error D8003 : missing source filename\n"; | ||
}); | ||
|
||
return compiler.run(argc_, argv_).value(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Metashell - Interactive C++ template metaprogramming shell | ||
# Copyright (C) 2019, Abel Sinkovics (abel@sinkovics.hu) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
project(app_stub_clang) | ||
|
||
aux_source_directory(. SOURCES) | ||
add_executable(${PROJECT_NAME} ${SOURCES}) | ||
|
||
enable_warnings(${PROJECT_NAME}) | ||
|
||
target_link_libraries( | ||
${PROJECT_NAME} | ||
|
||
metashell::compiler_stub | ||
) |
Oops, something went wrong.