chore: add pcxxheader.

This commit is contained in:
2025-01-20 00:42:40 +08:00
parent 9b5a505334
commit 679764c2bf
2 changed files with 22 additions and 1 deletions

20
AskRVA/src/pch.h Normal file
View File

@@ -0,0 +1,20 @@
// Standard Libraries
#include <exception>
#include <functional>
#include <fstream>
#include <print>
#include <string>
#include <string_view>
#include <unordered_map>
#include <unordered_set>
#include <type_traits>
// Helper
#include "nonstd.h"

View File

@@ -3,7 +3,7 @@ add_rules('mode.debug', 'mode.release')
set_allowedplats('windows')
set_allowedarchs('x64')
add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git")
add_repositories('liteldev-repo https://github.com/LiteLDev/xmake-repo.git')
-- from xmake-repo
add_requires('argparse 3.1')
@@ -18,6 +18,7 @@ target('askrva')
add_includedirs('src')
set_warnings('all')
set_languages('c23', 'c++23')
set_pcxxheader('src/pch.h')
add_packages(
'argparse',