This is a simple game I'm writing to test the idea of using games to teach C++. https://learncodethehardway.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
simple-cpp-game-study/PPP3/meson.build

40 lines
1003 B

project('lcppthw', 'cpp',
default_options: ['cpp_std=c++20'])
cmake = import('cmake')
opts = cmake.subproject_options()
opts.add_cmake_defines({
'USE_ICONV': false,
'USE_SSH': false,
'USE_NTLMCLIENT': false,
'BUILD_SHARED_LIBS': true,
'BUILD_TESTS': false,
})
libgit2_proj = cmake.subproject('libgit2', options: opts)
libgit2package_dep = libgit2_proj.dependency('libgit2package')
efsw_proj = cmake.subproject('efsw')
efsw_dep = efsw_proj.dependency('efsw')
dependencies = [
dependency('fmt'),
libgit2package_dep,
efsw_dep,
]
executable('goc', 'goc.cpp',
cpp_args: '-DFMT_HEADER_ONLY',
dependencies: [dependency('fmt')])
executable('watchgit', 'watchgit.cpp',
cpp_args: '-DFMT_HEADER_ONLY',
dependencies: dependencies)
executable('ex01', 'ex01.cpp')
executable('ex02', 'ex02.cpp')
executable('ex03', 'ex03.cpp')
executable('ex04', 'ex04.cpp')
executable('ex05', 'ex05.cpp')
executable('ex06', 'ex06.cpp')
executable('ex07', 'ex07.cpp')
executable('ex08', 'ex08.cpp')