A bit more working on goc to support windows.
This commit is contained in:
parent
a3209606ef
commit
4c3a4b2501
3 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <iomanip>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <fmt/core.h>
|
#include <fmt/core.h>
|
||||||
#include <regex>
|
#include <regex>
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
project('lcppthw', 'cpp',
|
project('lcppthw', 'cpp',
|
||||||
default_options: ['cpp_std=c++20'])
|
default_options: ['cpp_std=c++20'])
|
||||||
|
|
||||||
fmt_dep = dependency('fmt')
|
dependencies = [
|
||||||
|
dependency('fmt'),
|
||||||
|
dependency('sqlite3'),
|
||||||
|
dependency('sqlitecpp')
|
||||||
|
]
|
||||||
|
|
||||||
executable('goc', 'goc.cpp',
|
executable('goc', 'goc.cpp',
|
||||||
win_subsystem: 'windows',
|
|
||||||
cpp_args: '-DFMT_HEADER_ONLY',
|
cpp_args: '-DFMT_HEADER_ONLY',
|
||||||
dependencies: fmt_dep)
|
dependencies: dependencies)
|
||||||
|
|
||||||
executable('ex01', 'ex01.cpp')
|
executable('ex01', 'ex01.cpp')
|
||||||
executable('ex02', 'ex02.cpp')
|
executable('ex02', 'ex02.cpp')
|
||||||
|
|
|
@ -155,6 +155,7 @@ void Create_player(sf::RenderWindow &window, sf::Sprite &player, sf::Texture &te
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
fmt::print("Setting up a window for you...\n");
|
fmt::print("Setting up a window for you...\n");
|
||||||
|
|
||||||
sf::ContextSettings settings;
|
sf::ContextSettings settings;
|
||||||
settings.antialiasingLevel = 8;
|
settings.antialiasingLevel = 8;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue