function main()
{
    echo "cmake_minimum_required(VERSION 2.8)\n";
    echo "project (GodotEngine)\n";
    echo "include_directories(.)\n";
    include_headers("all_h_files.txt");
    include_headers("all_hpp_files.txt");
    $vars_c = include_source("all_c_files.txt", "id_c");
    $vars_cpp = include_source("all_cpp_files.txt", "id_cpp");
    echo "add_executable(godot {$vars_c} {$vars_cpp})\n";
    echo "target_compile_definitions(godot PRIVATE TOOLS_ENABLED)\n";
    echo "MESSAGE(\"Have fun with Godot Engine in Visual Studio! :^)\")\n";
}
Esempio n. 2
0
<!DOCTYPE html>
<?php 
$msg->set_root('/first-run');
?>
<html lang="<?php 
echo $msg->get_short_language_code();
?>
">
  <head>
    <meta charset="utf-8">
    <title><?php 
echo $msg->_('initial-setup');
?>
</title>
    <?php 
include_headers();
?>
    <link href="/static/css/first-run.css" rel="stylesheet">
  </head>
  <body>
    <div class="container">
      <p>
        <?php 
echo $msg->_('please-insert-below');
?>
      </p>
      <ul>
        <li>
          <?php 
echo $msg->_('root-username-help');
?>