mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-30 00:34:56 +00:00
Merge branch 'main' into renovate/spdlog-1.x
This commit is contained in:
4
.actrc
Normal file
4
.actrc
Normal file
@@ -0,0 +1,4 @@
|
||||
-P ubuntu-latest=catthehacker/ubuntu:act-latest
|
||||
-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
|
||||
--container-architecture linux/amd64
|
||||
--use-gitignore=false
|
||||
12
.github/COPILOT_SDLC_SUMMARY.md
vendored
12
.github/COPILOT_SDLC_SUMMARY.md
vendored
@@ -229,7 +229,7 @@ Copilot generates:
|
||||
|
||||
**Response:** Context-aware guidance based on:
|
||||
- Copilot Instructions (.github/copilot-instructions.md)
|
||||
- PRD.md project mission
|
||||
- docs/getting-started/PRD.md project mission
|
||||
- Existing package structure
|
||||
- Architectural principles
|
||||
|
||||
@@ -252,12 +252,12 @@ Copilot generates:
|
||||
|
||||
**Context Files:**
|
||||
- `.github/copilot-instructions.md` - Comprehensive project guidelines
|
||||
- `PRD.md` - Feature context and project mission
|
||||
- `docs/getting-started/PRD.md` - Feature context and project mission
|
||||
- `/packages/*/seed/` - Existing patterns to follow
|
||||
- `prisma/schema.prisma` - Database structure
|
||||
|
||||
**Best Practices:**
|
||||
- Reference PRD when asking about features
|
||||
- Reference docs/getting-started/PRD.md when asking about features
|
||||
- Show existing patterns when requesting new code
|
||||
- Ask about architectural decisions before implementing
|
||||
- Request declarative approaches explicitly
|
||||
@@ -342,9 +342,9 @@ Copilot generates:
|
||||
### 3. Documentation
|
||||
**Files:**
|
||||
- `.github/workflows/README.md` - Workflow documentation
|
||||
- `PRD.md` - Product requirements
|
||||
- `SECURITY.md` - Security policies
|
||||
- `README.md` - Project overview
|
||||
- `docs/getting-started/PRD.md` - Product requirements
|
||||
- `docs/security/SECURITY.md` - Security policies
|
||||
- `docs/README.md` - Project overview
|
||||
|
||||
---
|
||||
|
||||
|
||||
67
.github/copilot-instructions.md
vendored
67
.github/copilot-instructions.md
vendored
@@ -10,6 +10,20 @@ MetaBuilder is a **data-driven, multi-tenant platform** with 95% functionality i
|
||||
- **Package System**: Self-contained modules in `/packages/{name}/seed/` with metadata, components, scripts
|
||||
- **Multi-Tenancy**: All data queries filter by `tenantId`; each tenant has isolated configurations
|
||||
|
||||
## 0-kickstart Operating Rules
|
||||
|
||||
Follow `.github/prompts/0-kickstart.md` as the current workflow source of truth. Key rules:
|
||||
- Work through `.github/prompts/` as needed; start with `0-kickstart.md`.
|
||||
- Commit as you go with descriptive messages; default to trunking on `main`.
|
||||
- Use `act` to diagnose GitHub workflow issues locally.
|
||||
- Keep unit tests parameterized; create new test files where possible; use 1:1 source-to-test naming.
|
||||
- Leave TODO comments for missing functionality.
|
||||
- Check `docs/todo/` before starting.
|
||||
- One lambda per file; classes only serve as containers for related lambdas (see `.github/prompts/LAMBDA_PROMPT.md`).
|
||||
- Route data access through DBAL; treat it as the trusted layer.
|
||||
- Design for flexibility, modularity, and containerization.
|
||||
- See `docs/RADIX_TO_MUI_MIGRATION.md` for UI migration guidance.
|
||||
|
||||
## Critical Patterns
|
||||
|
||||
### 1. API-First DBAL Development
|
||||
@@ -76,11 +90,43 @@ Always test scripts with `DeclarativeComponentRenderer.executeLuaScript()`
|
||||
|
||||
## Code Conventions
|
||||
|
||||
### UI Components & Styling
|
||||
|
||||
**⚠️ CRITICAL: This project does NOT use Radix UI or Tailwind CSS**
|
||||
|
||||
- ❌ **NEVER import from `@radix-ui/*`** - These dependencies have been removed
|
||||
- ❌ **NEVER use Tailwind utility classes** in `className` props
|
||||
- ✅ **ALWAYS use Material-UI** (`@mui/material`) for UI components
|
||||
- ✅ **Use MUI's `sx` prop** for inline styles with theme access
|
||||
- ✅ **Create `.module.scss` files** for component-specific custom styles
|
||||
- ✅ **Use `@mui/icons-material`** for icons, not lucide-react or heroicons
|
||||
|
||||
```tsx
|
||||
// ❌ Wrong: Using Radix UI or Tailwind
|
||||
import { Dialog } from '@radix-ui/react-dialog'
|
||||
<button className="bg-blue-500 text-white px-4 py-2">Click</button>
|
||||
|
||||
// ✅ Right: Using Material-UI
|
||||
import { Dialog, Button } from '@mui/material'
|
||||
<Button variant="contained" color="primary">Click</Button>
|
||||
<Box sx={{ display: 'flex', gap: 2, p: 3 }}>Content</Box>
|
||||
```
|
||||
|
||||
**Component Mapping:**
|
||||
- Radix Dialog → MUI Dialog
|
||||
- Radix Select → MUI Select
|
||||
- Radix Checkbox → MUI Checkbox
|
||||
- Radix Switch → MUI Switch
|
||||
- Tailwind classes → MUI `sx` prop or SCSS modules
|
||||
|
||||
**See:** `UI_STANDARDS.md` and `docs/UI_MIGRATION.md` for complete reference
|
||||
|
||||
### TypeScript/React
|
||||
- Max 150 LOC per component (check `RenderComponent.tsx` ← 221 LOC is exception using recursive pattern)
|
||||
- Use `@/` absolute paths and shadcn/ui from `@/components/ui`
|
||||
- One lambda per file; classes are containers for related lambdas.
|
||||
- Keep files small and focused; split by responsibility when they grow.
|
||||
- Use `@/` absolute paths
|
||||
- Functional components with hooks; avoid class components
|
||||
- Test files next to source: `utils.ts` + `utils.test.ts` using parameterized `it.each()`
|
||||
- Test files next to source with matching names: `utils.ts` + `utils.test.ts`, using parameterized `it.each()`
|
||||
|
||||
### Tests
|
||||
All functions need coverage with parameterized tests:
|
||||
@@ -101,25 +147,27 @@ Run `npm run test:coverage:report` to auto-generate coverage markdown.
|
||||
- Queries must include `where('tenantId', currentTenant.id)` for multi-tenancy
|
||||
|
||||
### Styling
|
||||
Tailwind only; theme in `src/index.css` with colors defined in oklch space. Font families: IBM Plex Sans (body), Space Grotesk (headings), JetBrains Mono (code).
|
||||
Material-UI with SASS; theme in `src/theme/mui-theme.ts` with light/dark mode support. Font families: IBM Plex Sans (body), Space Grotesk (headings), JetBrains Mono (code). Use MUI's `sx` prop for inline styles or create `.module.scss` files for custom component styles.
|
||||
|
||||
## Development Checklist
|
||||
|
||||
**Before implementing**: Check `docs/` for relevant guides, especially `docs/architecture/5-level-system.md` for permission logic.
|
||||
**Before implementing**: Check `docs/` and `docs/todo/`, and review `.github/prompts/0-kickstart.md` for current workflow rules.
|
||||
|
||||
**During implementation**:
|
||||
1. Define database schema changes first (Prisma)
|
||||
2. Add seed data to `src/seed-data/` or package `/seed/`
|
||||
3. Use generic renderers (`RenderComponent`) not hardcoded JSX
|
||||
4. Add Lua scripts in `src/lib/lua-snippets.ts` or package `/seed/scripts/`
|
||||
5. Keep components < 150 LOC
|
||||
6. Add parameterized tests in `.test.ts` files
|
||||
5. Keep one lambda per file and split as needed
|
||||
6. Add parameterized tests in `.test.ts` files with matching names
|
||||
|
||||
**Before commit**:
|
||||
- `npm run lint:fix` (fixes ESLint issues)
|
||||
- `npm test -- --run` (all tests pass)
|
||||
- `npm run test:coverage:report` (verify new functions have tests)
|
||||
- `npm run test:e2e` (critical workflows still work)
|
||||
- Use `npm run act:diagnose` or `npm run act` when investigating CI/workflow failures
|
||||
- Commit with a descriptive message on `main` unless a PR workflow is explicitly required
|
||||
|
||||
## Multi-Tenant Safety
|
||||
|
||||
@@ -158,8 +206,9 @@ If fixing a DBAL bug:
|
||||
❌ **Forgetting tenantId filter** → Breaks multi-tenancy
|
||||
❌ **Adding fields without Prisma generate** → Type errors in DB helper
|
||||
❌ **Plain JS loops over Fengari tables** → Use Lua, not TS, for Lua data
|
||||
❌ **Components > 150 LOC** → Refactor to composition + `RenderComponent`
|
||||
❌ **Multiple lambdas per file** → Split into single-lambda files and wrap with a class only when needed
|
||||
❌ **New function without test** → `npm run test:check-functions` will fail
|
||||
❌ **Missing TODO for unfinished behavior** → Leave a TODO comment where functionality is pending
|
||||
|
||||
## Key Files
|
||||
|
||||
@@ -176,6 +225,6 @@ If fixing a DBAL bug:
|
||||
2. Could a generic component render this instead of custom TSX?
|
||||
3. Does this query filter by tenantId?
|
||||
4. Could Lua handle this without code changes?
|
||||
5. Is the component < 150 LOC? (If not, refactor)
|
||||
5. Is this one lambda per file (and test file name matches)?
|
||||
6. Does this function have a parameterized test?
|
||||
7. Is this DBAL change reflected in YAML schema first?
|
||||
|
||||
71
.github/prompts/0-kickstart.md
vendored
Normal file
71
.github/prompts/0-kickstart.md
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
# Kickstart
|
||||
|
||||
Use this as the default workflow when starting work in this repo.
|
||||
|
||||
## Workflow
|
||||
1. Skim `docs/START_HERE.md` (if new), `docs/INDEX.md`, and relevant items in `docs/todo/`.
|
||||
2. Check for scoped rules in nested `AGENTS.md` files (e.g. `dbal/AGENTS.md`) before editing those areas.
|
||||
3. Use the prompts in `.github/prompts/` as needed:
|
||||
- Plan: `1-plan-feature.prompt.md`
|
||||
- Design: `2-design-component.prompt.md`
|
||||
- Implement: `3-impl-*.prompt.md`
|
||||
- Test: `4-test-*.prompt.md`
|
||||
- Review: `5-review-code.prompt.md`
|
||||
- Deploy: `6-deploy-*.prompt.md`
|
||||
- Maintain: `7-maintain-*.prompt.md`
|
||||
- Docs: `8-docs-feature.prompt.md`
|
||||
4. Keep changes small and follow existing patterns; avoid dependency churn.
|
||||
|
||||
## Where Work Lives
|
||||
- Next.js app: `frontends/nextjs/` (source in `src/`, E2E in `e2e/`, local scripts in `scripts/`).
|
||||
- Component packages: `packages/` (seed JSON under `packages/*/seed/`, optional `static_content/`, schema checks in `packages/*/tests/`).
|
||||
- DBAL: `dbal/` (TypeScript library in `dbal/ts/`).
|
||||
- Prisma schema/migrations: `prisma/` (`schema.prisma`, `migrations/`).
|
||||
- Shared config: `config/` (symlinked into `frontends/nextjs/`).
|
||||
- Repo utilities: `tools/` (quality checks, workflow helpers, code analysis).
|
||||
|
||||
## Common Commands
|
||||
Run app workflows from `frontends/nextjs/`:
|
||||
- Install: `npm ci` (or `npm install`)
|
||||
- Dev: `npm run dev`
|
||||
- Build/serve: `npm run build` / `npm run start`
|
||||
- Lint: `npm run lint` / `npm run lint:fix`
|
||||
- Typecheck: `npm run typecheck`
|
||||
- Unit: `npm run test:unit` / `npm run test:coverage`
|
||||
- Function coverage: `npm run test:check-functions`
|
||||
- Coverage report: `npm run test:coverage:report`
|
||||
- E2E: `npm run test:e2e`
|
||||
- Prisma (schema in `prisma/schema.prisma`, config in `frontends/nextjs/prisma.config.ts`):
|
||||
- First-time setup: copy `.env.example` to `.env` (or ensure `DATABASE_URL` is set)
|
||||
- Commands: `npm run db:generate` / `npm run db:push` / `npm run db:migrate`
|
||||
- Validate: `npx prisma validate`
|
||||
- Coverage output: `frontends/nextjs/coverage/`
|
||||
|
||||
DBAL workflows live in `dbal/ts/` (`npm run build`, `npm run test:unit`).
|
||||
|
||||
## Source + Tests
|
||||
- TypeScript + ESM. Prefer `@/…` imports inside `frontends/nextjs/src/`.
|
||||
- React components: `PascalCase.tsx`; hooks: `useThing.ts`; tests: `*.test.ts(x)`.
|
||||
- Unit tests: `frontends/nextjs/src/**/*.test.ts(x)` and `packages/*/tests/*.test.ts`; E2E: `frontends/nextjs/e2e/`.
|
||||
- Prefer one focused function (“lambda”) per file; use classes only as containers for related functions (see `.github/prompts/LAMBDA_PROMPT.md`).
|
||||
- Add/adjust tests with behavior changes; keep tests deterministic (no network, stable clocks/IDs), and parameterize where it improves coverage (`it.each()`); keep source↔test naming aligned.
|
||||
- Leave TODOs only when you’re explicitly deferring follow-up work (and include the next step).
|
||||
|
||||
## Git Hygiene
|
||||
- Commit as you go with descriptive (Conventional Commit-style) messages; default to trunk-based work on `main` unless a PR flow is required.
|
||||
- If multiple agents are working, merge/rebase carefully and avoid overwriting each other’s changes.
|
||||
- Before opening a PR, run `npm run lint`, `npm run typecheck`, and the relevant tests (from `frontends/nextjs/`).
|
||||
- PRs should include: what/why, linked issue (if any), screenshots for UI changes, and notes on DB/schema changes.
|
||||
|
||||
## Architecture Guardrails
|
||||
- Prefer data-driven config (JSON/Lua) over hard-coded TS/TSX; start with `packages/*/seed/` and `docs/architecture/data-driven-architecture.md`.
|
||||
- Prefer declarative UI via `RenderComponent` / generic renderers (see `docs/architecture/generic-page-system.md`).
|
||||
- Route data access through DBAL / the `Database` wrapper (`frontends/nextjs/src/lib/db/` or `@/lib/db`); don’t bypass it.
|
||||
- Assume multi-tenancy: include `tenantId` filtering and isolate per-tenant data.
|
||||
- UI uses Material UI (`@mui/*`) and SCSS/modules as needed; don’t introduce Radix UI or Tailwind. See `docs/RADIX_TO_MUI_MIGRATION.md` and `UI_STANDARDS.md`.
|
||||
- Package metadata: keep `packages/*/seed/metadata.json` `packageId` in `snake_case` and versions semver (e.g. `1.2.3`).
|
||||
|
||||
## CI / Workflows
|
||||
- Use `act` to reproduce and debug GitHub Actions locally (from `frontends/nextjs/`: `npm run act`, `npm run act:diagnose`; see `docs/guides/ACT_TESTING.md`).
|
||||
|
||||
If you get stuck, see `.github/prompts/EEK-STUCK.md`.
|
||||
21
.github/prompts/1-plan-feature.prompt.md
vendored
Normal file
21
.github/prompts/1-plan-feature.prompt.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Plan Feature Implementation
|
||||
|
||||
Before implementing, analyze the feature requirements:
|
||||
|
||||
1. **Check existing docs**: `docs/architecture/` for design patterns
|
||||
2. **Identify affected areas**:
|
||||
- Database schema changes? → `prisma/schema.prisma`
|
||||
- New API/DBAL operations? → `dbal/api/schema/`
|
||||
- UI components? → Use declarative `RenderComponent`
|
||||
- Business logic? → Consider Lua script in `packages/*/seed/scripts/`
|
||||
|
||||
3. **Multi-tenant impact**: Does this need `tenantId` filtering?
|
||||
|
||||
4. **Permission level**: Which of the 5 levels can access this?
|
||||
- Level 1: Public
|
||||
- Level 2: User
|
||||
- Level 3: Admin
|
||||
- Level 4: God
|
||||
- Level 5: Supergod
|
||||
|
||||
5. **Create implementation checklist** with specific files to modify.
|
||||
26
.github/prompts/2-design-component.prompt.md
vendored
Normal file
26
.github/prompts/2-design-component.prompt.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# Design Component Architecture
|
||||
|
||||
Design a new component or feature following MetaBuilder patterns:
|
||||
|
||||
## Questions to Answer
|
||||
1. Is this better as **declarative JSON** or **React TSX**?
|
||||
- Prefer declarative for data-driven UIs
|
||||
- Use TSX only for complex interactions
|
||||
|
||||
2. Can existing packages handle this?
|
||||
- Check `packages/*/seed/components.json`
|
||||
|
||||
3. What's the data flow?
|
||||
- Database → `Database` class → Component
|
||||
- Never bypass the Database wrapper
|
||||
|
||||
## Output a Design With
|
||||
- Component tree structure
|
||||
- Props interface
|
||||
- Data dependencies
|
||||
- Permission requirements
|
||||
- Package location (new or existing)
|
||||
|
||||
## Size Constraints
|
||||
- Components: < 150 LOC
|
||||
- Split large components using composition
|
||||
27
.github/prompts/3-impl-component.prompt.md
vendored
Normal file
27
.github/prompts/3-impl-component.prompt.md
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# Add Declarative Component
|
||||
|
||||
Add a new component using the declarative pattern (not hardcoded TSX):
|
||||
|
||||
1. **Define in package** `packages/{pkg}/seed/components.json`:
|
||||
```json
|
||||
{
|
||||
"type": "MyComponent",
|
||||
"category": "ui",
|
||||
"label": "My Component",
|
||||
"props": [
|
||||
{ "name": "title", "type": "string", "required": true }
|
||||
],
|
||||
"config": {
|
||||
"layout": "vertical",
|
||||
"styling": { "className": "myComponentRoot" }
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Note: `styling.className` should reference a real CSS class (SCSS/modules), not Tailwind utility classes.
|
||||
|
||||
2. **Register** via `DeclarativeComponentRenderer.registerComponentConfig()`
|
||||
|
||||
3. **Render** using `<RenderComponent component={...} />`
|
||||
|
||||
Keep components under 150 LOC. Use composition for complex UIs.
|
||||
22
.github/prompts/3-impl-database.prompt.md
vendored
Normal file
22
.github/prompts/3-impl-database.prompt.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
# Database Query Pattern
|
||||
|
||||
Always use the `Database` class wrapper, never raw Prisma:
|
||||
|
||||
Run app commands from `frontends/nextjs/`.
|
||||
|
||||
```typescript
|
||||
// ✅ Correct - with tenant isolation
|
||||
const users = await Database.getUsers({ tenantId: user.tenantId })
|
||||
await Database.setSchemas(schemas, { tenantId })
|
||||
|
||||
// ❌ Wrong - raw Prisma, no tenant filter
|
||||
const users = await prisma.user.findMany()
|
||||
```
|
||||
|
||||
After schema changes in `prisma/schema.prisma`:
|
||||
```bash
|
||||
npm run db:generate # Regenerate Prisma client
|
||||
npm run db:push # Push to database
|
||||
```
|
||||
|
||||
Key file: `frontends/nextjs/src/lib/database.ts`
|
||||
26
.github/prompts/3-impl-dbal-entity.prompt.md
vendored
Normal file
26
.github/prompts/3-impl-dbal-entity.prompt.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# Add DBAL Entity
|
||||
|
||||
Run DBAL commands from `dbal/`.
|
||||
|
||||
Add a new entity to the DBAL following the API-first approach:
|
||||
|
||||
1. **Define entity** in `dbal/api/schema/entities/{name}.yaml`:
|
||||
```yaml
|
||||
entity: EntityName
|
||||
version: "1.0"
|
||||
fields:
|
||||
id: { type: uuid, primary: true, generated: true }
|
||||
# Add fields...
|
||||
```
|
||||
|
||||
2. **Define operations** in `dbal/api/schema/operations/{name}.ops.yaml`
|
||||
|
||||
3. **Generate types**: `python tools/codegen/gen_types.py`
|
||||
|
||||
4. **Implement adapters** in both:
|
||||
- `dbal/ts/src/adapters/`
|
||||
- `dbal/cpp/src/adapters/`
|
||||
|
||||
5. **Add conformance tests** in `dbal/common/contracts/{name}_tests.yaml`
|
||||
|
||||
6. **Verify**: `python tools/conformance/run_all.py`
|
||||
32
.github/prompts/3-impl-feature.prompt.md
vendored
Normal file
32
.github/prompts/3-impl-feature.prompt.md
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# Implement Feature
|
||||
|
||||
Implement following MetaBuilder conventions:
|
||||
|
||||
Run app commands from `frontends/nextjs/` unless a step says otherwise.
|
||||
|
||||
## Implementation Order
|
||||
1. **Schema first**: Update `prisma/schema.prisma` if needed
|
||||
```bash
|
||||
npm run db:generate && npm run db:push
|
||||
```
|
||||
|
||||
2. **DBAL contracts**: If new entity/operation, update YAML in `dbal/api/schema/`
|
||||
|
||||
3. **Database layer**: Add methods to `Database` class in `src/lib/database.ts`
|
||||
|
||||
4. **Business logic**:
|
||||
- Simple validation → Lua script
|
||||
- Complex logic → TypeScript in `src/lib/`
|
||||
|
||||
5. **UI components**:
|
||||
- Declarative → `packages/*/seed/components.json`
|
||||
- React → `src/components/` (< 150 LOC)
|
||||
|
||||
6. **Tests**: Parameterized tests next to source files
|
||||
|
||||
## Checklist
|
||||
- [ ] tenantId filtering on all queries
|
||||
- [ ] Permission level check
|
||||
- [ ] Component under 150 LOC
|
||||
- [ ] No hardcoded values (use DB/config)
|
||||
- [ ] Tests with `it.each()` pattern
|
||||
36
.github/prompts/3-impl-lua-script.prompt.md
vendored
Normal file
36
.github/prompts/3-impl-lua-script.prompt.md
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
# Write Lua Business Logic
|
||||
|
||||
Add business logic as a sandboxed Lua script:
|
||||
|
||||
## Create Script
|
||||
Location: `packages/{pkg}/seed/scripts/` or `src/lib/lua-snippets.ts`
|
||||
|
||||
```lua
|
||||
-- Sandbox restrictions: NO os, io, require, loadfile
|
||||
function validateInput(value)
|
||||
if not value or value == "" then
|
||||
return false, "Value required"
|
||||
end
|
||||
return true, nil
|
||||
end
|
||||
```
|
||||
|
||||
## Register Script
|
||||
```typescript
|
||||
renderer.registerLuaScript('validate_input', {
|
||||
code: luaCode,
|
||||
parameters: [{ name: 'value', type: 'string' }],
|
||||
returnType: 'boolean'
|
||||
})
|
||||
```
|
||||
|
||||
## Execute Script
|
||||
```typescript
|
||||
const result = await renderer.executeLuaScript('validate_input', [userInput])
|
||||
```
|
||||
|
||||
## When to Use Lua
|
||||
- Validation rules
|
||||
- Data transformation
|
||||
- Conditional rendering logic
|
||||
- Business rules that change frequently
|
||||
39
.github/prompts/3-impl-migration.prompt.md
vendored
Normal file
39
.github/prompts/3-impl-migration.prompt.md
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# Add Database Migration
|
||||
|
||||
Add or modify database schema:
|
||||
|
||||
Run app commands from `frontends/nextjs/` unless a step says otherwise.
|
||||
|
||||
## 1. Update Schema
|
||||
Edit `prisma/schema.prisma`:
|
||||
```prisma
|
||||
model NewEntity {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
tenantId String // Required for multi-tenancy
|
||||
tenant Tenant @relation(fields: [tenantId], references: [id])
|
||||
createdAt BigInt
|
||||
}
|
||||
```
|
||||
|
||||
## 2. Generate & Apply
|
||||
```bash
|
||||
npm run db:generate # Update Prisma client
|
||||
npm run db:push # Push to dev database
|
||||
# OR for production:
|
||||
npx prisma migrate dev --name describe_change
|
||||
npm run db:migrate # Apply in production
|
||||
```
|
||||
|
||||
## 3. Add Database Wrapper Methods
|
||||
In `src/lib/database.ts`:
|
||||
```typescript
|
||||
static async getNewEntities(filter: { tenantId: string }) {
|
||||
return prisma.newEntity.findMany({
|
||||
where: { tenantId: filter.tenantId }
|
||||
})
|
||||
}
|
||||
```
|
||||
|
||||
## 4. Update DBAL (if applicable)
|
||||
Add entity to `dbal/api/schema/entities/`
|
||||
28
.github/prompts/3-impl-package.prompt.md
vendored
Normal file
28
.github/prompts/3-impl-package.prompt.md
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# Create New Package
|
||||
|
||||
Create a new MetaBuilder package with the standard structure:
|
||||
|
||||
```
|
||||
packages/{name}/
|
||||
├── seed/
|
||||
│ ├── metadata.json # Package info, version, dependencies
|
||||
│ ├── components.json # Component definitions
|
||||
│ └── scripts/ # Lua scripts (optional)
|
||||
├── static_content/ # Assets (optional)
|
||||
└── tests/
|
||||
└── README.md
|
||||
```
|
||||
|
||||
Required metadata.json format:
|
||||
```json
|
||||
{
|
||||
"packageId": "{name}",
|
||||
"name": "Display Name",
|
||||
"version": "1.0.0",
|
||||
"description": "Package description",
|
||||
"author": "MetaBuilder",
|
||||
"category": "ui",
|
||||
"dependencies": [],
|
||||
"exports": { "components": [] }
|
||||
}
|
||||
```
|
||||
38
.github/prompts/4-test-run.prompt.md
vendored
Normal file
38
.github/prompts/4-test-run.prompt.md
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# Run All Tests
|
||||
|
||||
Run app tests from `frontends/nextjs/`. Run DBAL conformance from `dbal/`.
|
||||
|
||||
Execute the full test suite:
|
||||
|
||||
## Unit Tests
|
||||
```bash
|
||||
npm run test:unit # Single run
|
||||
npm run test # Watch mode
|
||||
npm run test:coverage # With coverage
|
||||
npm run test:coverage:report # Generate markdown report
|
||||
```
|
||||
|
||||
## End-to-End Tests
|
||||
```bash
|
||||
npm run test:e2e # Headless
|
||||
npm run test:e2e:headed # With browser
|
||||
npm run test:e2e:ui # Interactive UI
|
||||
```
|
||||
|
||||
## Full CI Pipeline (Local)
|
||||
```bash
|
||||
npm run act # Full pipeline
|
||||
npm run act:diagnose # Check setup
|
||||
```
|
||||
|
||||
## Specific Checks
|
||||
```bash
|
||||
npm run lint # ESLint
|
||||
npm run typecheck # TypeScript
|
||||
npm run test:check-functions # Function coverage
|
||||
```
|
||||
|
||||
## DBAL Conformance (from `dbal/`)
|
||||
```bash
|
||||
python tools/conformance/run_all.py
|
||||
```
|
||||
26
.github/prompts/4-test-write.prompt.md
vendored
Normal file
26
.github/prompts/4-test-write.prompt.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# Write Parameterized Tests
|
||||
|
||||
Run tests from `frontends/nextjs/`.
|
||||
|
||||
Add tests using the parameterized `it.each()` pattern:
|
||||
|
||||
```typescript
|
||||
import { describe, it, expect } from 'vitest'
|
||||
|
||||
describe('myFunction', () => {
|
||||
it.each([
|
||||
{ input: 'case1', expected: 'result1' },
|
||||
{ input: 'case2', expected: 'result2' },
|
||||
{ input: 'edge-case', expected: 'handled' },
|
||||
])('should handle $input', ({ input, expected }) => {
|
||||
expect(myFunction(input)).toBe(expected)
|
||||
})
|
||||
})
|
||||
```
|
||||
|
||||
Place test files next to source: `utils.ts` → `utils.test.ts`
|
||||
|
||||
Run tests:
|
||||
- `npm test` - Watch mode
|
||||
- `npm run test:unit` - Single run
|
||||
- `npm run test:coverage:report` - Generate coverage markdown
|
||||
35
.github/prompts/5-review-code.prompt.md
vendored
Normal file
35
.github/prompts/5-review-code.prompt.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# Code Review Checklist
|
||||
|
||||
Review code against MetaBuilder standards:
|
||||
|
||||
Run checks from `frontends/nextjs/`.
|
||||
|
||||
## Architecture
|
||||
- [ ] No raw Prisma calls - uses `Database` class
|
||||
- [ ] tenantId filter on all data queries
|
||||
- [ ] Permission level enforced appropriately
|
||||
- [ ] DBAL changes follow YAML-first pattern
|
||||
|
||||
## Components
|
||||
- [ ] Under 150 LOC (exception: recursive renderers)
|
||||
- [ ] Uses declarative pattern where possible
|
||||
- [ ] No hardcoded values that belong in DB
|
||||
- [ ] Uses `@/` absolute imports
|
||||
- [ ] Uses Material UI (`@mui/*`) and `sx`/SCSS modules (no Radix UI / Tailwind)
|
||||
|
||||
## Testing
|
||||
- [ ] Parameterized tests with `it.each()`
|
||||
- [ ] Test file next to source (`*.test.ts`)
|
||||
- [ ] Edge cases covered
|
||||
|
||||
## Security
|
||||
- [ ] No credentials in code
|
||||
- [ ] Input validation present
|
||||
- [ ] Lua scripts use sandbox (no os/io/require)
|
||||
|
||||
## Run Checks
|
||||
```bash
|
||||
npm run lint:fix
|
||||
npm run test:unit
|
||||
npm run act
|
||||
```
|
||||
17
.github/prompts/6-deploy-ci-local.prompt.md
vendored
Normal file
17
.github/prompts/6-deploy-ci-local.prompt.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# Run GitHub Actions Locally
|
||||
|
||||
Run from `frontends/nextjs/`.
|
||||
|
||||
Run the full CI pipeline locally using act to validate changes before pushing.
|
||||
|
||||
```bash
|
||||
npm run act
|
||||
```
|
||||
|
||||
If specific jobs fail, debug with:
|
||||
- `npm run act:lint` - ESLint only
|
||||
- `npm run act:typecheck` - TypeScript validation
|
||||
- `npm run act:build` - Production build
|
||||
- `npm run act:e2e` - End-to-end tests
|
||||
|
||||
Use `npm run act:diagnose` to check setup issues without Docker.
|
||||
35
.github/prompts/6-deploy-production.prompt.md
vendored
Normal file
35
.github/prompts/6-deploy-production.prompt.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# Deploy Application
|
||||
|
||||
Deploy MetaBuilder to production:
|
||||
|
||||
## Pre-Deployment Checks (from `frontends/nextjs/`)
|
||||
```bash
|
||||
npm run act # Full CI locally
|
||||
npm run build # Verify build succeeds
|
||||
npm run typecheck # No type errors
|
||||
```
|
||||
|
||||
## Docker Deployment (from repo root)
|
||||
```bash
|
||||
# Development
|
||||
docker-compose -f deployment/docker-compose.development.yml up
|
||||
|
||||
# Production
|
||||
docker-compose -f deployment/docker-compose.production.yml up -d
|
||||
```
|
||||
|
||||
## Database Migration (from `frontends/nextjs/`)
|
||||
```bash
|
||||
npm run db:migrate # Apply migrations
|
||||
```
|
||||
|
||||
## Environment Variables
|
||||
Required in production:
|
||||
- `DATABASE_URL` - Database connection string
|
||||
- `NODE_ENV=production`
|
||||
|
||||
## Post-Deployment
|
||||
1. Verify health endpoints
|
||||
2. Check logs for errors
|
||||
3. Test critical user flows
|
||||
4. Monitor tenant isolation working correctly
|
||||
44
.github/prompts/7-maintain-debug.prompt.md
vendored
Normal file
44
.github/prompts/7-maintain-debug.prompt.md
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
# Debug Issue
|
||||
|
||||
Systematic debugging approach for MetaBuilder:
|
||||
|
||||
Run app commands from `frontends/nextjs/`. Run DBAL conformance from `dbal/`.
|
||||
|
||||
## 1. Identify Layer
|
||||
- **UI**: Check browser console, React DevTools
|
||||
- **API/Data**: Check `Database` class calls
|
||||
- **DBAL**: Check YAML schema matches implementation
|
||||
- **Lua**: Check sandbox execution logs
|
||||
|
||||
## 2. Common Issues
|
||||
|
||||
### "Cannot read property" in component
|
||||
→ Check if data query includes `tenantId`
|
||||
|
||||
### Type errors after schema change
|
||||
```bash
|
||||
npm run db:generate # Regenerate Prisma types
|
||||
```
|
||||
|
||||
### DBAL TypeScript/C++ divergence
|
||||
```bash
|
||||
python tools/conformance/run_all.py # Find which test fails
|
||||
```
|
||||
|
||||
### Lua script fails silently
|
||||
→ Check for forbidden APIs: `os`, `io`, `require`, `loadfile`
|
||||
|
||||
## 3. Logging
|
||||
```typescript
|
||||
// Database queries
|
||||
console.log('[DB]', query, { tenantId })
|
||||
|
||||
// Lua execution
|
||||
const result = await renderer.executeLuaScript(id, params)
|
||||
console.log('[Lua]', { result, logs: result.logs })
|
||||
```
|
||||
|
||||
## 4. Test in Isolation
|
||||
```bash
|
||||
npm run test:unit -- path/to/test.ts
|
||||
```
|
||||
46
.github/prompts/7-maintain-performance.prompt.md
vendored
Normal file
46
.github/prompts/7-maintain-performance.prompt.md
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
# Performance Optimization
|
||||
|
||||
Optimize MetaBuilder performance:
|
||||
|
||||
Run performance scripts from `frontends/nextjs/` after `npm run build` (requires `tsx` via `npx`).
|
||||
|
||||
## Identify Bottlenecks
|
||||
```bash
|
||||
npx tsx ../../tools/analyze-render-performance.ts
|
||||
npx tsx ../../tools/analyze-bundle-size.ts
|
||||
npx tsx ../../tools/check-performance-budget.ts
|
||||
```
|
||||
|
||||
## Common Optimizations
|
||||
|
||||
### 1. Database Queries
|
||||
```typescript
|
||||
// ❌ N+1 query
|
||||
for (const user of users) {
|
||||
const tenant = await Database.getTenant(user.tenantId)
|
||||
}
|
||||
|
||||
// ✅ Batch query
|
||||
const users = await Database.getUsersWithTenants({ tenantId })
|
||||
```
|
||||
|
||||
### 2. Component Rendering
|
||||
```tsx
|
||||
// ❌ Re-renders on every parent render
|
||||
function List({ items }) {
|
||||
return items.map(item => <Item key={item.id} {...item} />)
|
||||
}
|
||||
|
||||
// ✅ Memoized
|
||||
const MemoizedItem = React.memo(Item)
|
||||
function List({ items }) {
|
||||
return items.map(item => <MemoizedItem key={item.id} {...item} />)
|
||||
}
|
||||
```
|
||||
|
||||
### 3. Bundle Size
|
||||
- Use dynamic imports for large components
|
||||
- Check `docs/reports/size-limits-report.json`
|
||||
|
||||
### 4. Lua Script Caching
|
||||
Scripts are compiled once - avoid registering repeatedly
|
||||
54
.github/prompts/7-maintain-refactor.prompt.md
vendored
Normal file
54
.github/prompts/7-maintain-refactor.prompt.md
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
# Refactor Large Component
|
||||
|
||||
Break down a component exceeding 150 LOC:
|
||||
|
||||
## 1. Identify Split Points
|
||||
- Separate data fetching from rendering
|
||||
- Extract repeated patterns into sub-components
|
||||
- Move business logic to Lua or utility functions
|
||||
|
||||
## 2. Refactoring Patterns
|
||||
|
||||
### Extract Child Components
|
||||
```tsx
|
||||
// Before: 200 LOC monolith
|
||||
function BigComponent() { /* everything */ }
|
||||
|
||||
// After: Composed
|
||||
function BigComponent() {
|
||||
return (
|
||||
<Container>
|
||||
<Header />
|
||||
<ContentList items={items} />
|
||||
<Footer />
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### Convert to Declarative
|
||||
```tsx
|
||||
// Before: Hardcoded
|
||||
<UserForm user={user} />
|
||||
|
||||
// After: Declarative
|
||||
<RenderComponent component={{
|
||||
type: 'form',
|
||||
props: { schema: formSchema }
|
||||
}} />
|
||||
```
|
||||
|
||||
### Extract Hooks
|
||||
```typescript
|
||||
// Custom hook for data logic
|
||||
function useUserData(tenantId: string) {
|
||||
const [users, setUsers] = useState([])
|
||||
// ... fetch logic
|
||||
return { users, loading, error }
|
||||
}
|
||||
```
|
||||
|
||||
## 3. Verify
|
||||
- Each file < 150 LOC
|
||||
- Tests still pass
|
||||
- No functionality lost
|
||||
54
.github/prompts/7-maintain-security.prompt.md
vendored
Normal file
54
.github/prompts/7-maintain-security.prompt.md
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
# Fix Security Issue
|
||||
|
||||
Address security vulnerabilities in MetaBuilder:
|
||||
|
||||
Run app commands from `frontends/nextjs/`.
|
||||
|
||||
## Common Security Fixes
|
||||
|
||||
### 1. Missing Tenant Isolation
|
||||
```typescript
|
||||
// ❌ Vulnerable
|
||||
const data = await Database.getData()
|
||||
|
||||
// ✅ Fixed
|
||||
const data = await Database.getData({ tenantId: user.tenantId })
|
||||
```
|
||||
|
||||
### 2. Permission Bypass
|
||||
```typescript
|
||||
// ❌ Missing check
|
||||
async function adminAction() { /* ... */ }
|
||||
|
||||
// ✅ With check
|
||||
async function adminAction(user: User) {
|
||||
if (user.level < 3) throw new Error('Admin required')
|
||||
/* ... */
|
||||
}
|
||||
```
|
||||
|
||||
### 3. Lua Sandbox Escape
|
||||
```lua
|
||||
-- ❌ Never allow these in Lua scripts
|
||||
os.execute()
|
||||
io.open()
|
||||
require()
|
||||
loadfile()
|
||||
|
||||
-- ✅ Sandbox enforces restrictions automatically
|
||||
```
|
||||
|
||||
### 4. Raw SQL/Prisma
|
||||
```typescript
|
||||
// ❌ Bypass Database wrapper
|
||||
prisma.$queryRaw`SELECT * FROM users`
|
||||
|
||||
// ✅ Use Database class
|
||||
Database.getUsers({ tenantId })
|
||||
```
|
||||
|
||||
## Security Scan
|
||||
```bash
|
||||
npm audit
|
||||
npm run test:unit -- src/lib/security/security-scanner.test.ts
|
||||
```
|
||||
35
.github/prompts/8-docs-feature.prompt.md
vendored
Normal file
35
.github/prompts/8-docs-feature.prompt.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# Document Feature
|
||||
|
||||
Add documentation for a new feature:
|
||||
|
||||
## Code Documentation
|
||||
```typescript
|
||||
/**
|
||||
* Fetches users filtered by tenant
|
||||
* @param tenantId - The tenant to filter by (required for isolation)
|
||||
* @returns Array of User objects
|
||||
* @example
|
||||
* const users = await Database.getUsers({ tenantId: 'tenant_123' })
|
||||
*/
|
||||
```
|
||||
|
||||
## Architecture Docs
|
||||
Location: `docs/architecture/`
|
||||
- Explain the "why" not just "what"
|
||||
- Include diagrams for data flow
|
||||
- Document permission requirements
|
||||
|
||||
## Package Docs
|
||||
Each package needs:
|
||||
- `seed/metadata.json` - version, dependencies
|
||||
- `tests/README.md` - testing instructions
|
||||
- `static_content/examples.json` - usage examples
|
||||
|
||||
## Update Index
|
||||
Add to `docs/INDEX.md` or `docs/NAVIGATION.md`
|
||||
|
||||
## JSDoc Coverage Check (optional)
|
||||
Run from `frontends/nextjs/` (requires `tsx` via `npx`).
|
||||
```bash
|
||||
npx tsx ../../tools/check-jsdoc-coverage.ts
|
||||
```
|
||||
3
.github/prompts/EEK-STUCK.md
vendored
Normal file
3
.github/prompts/EEK-STUCK.md
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Make it up as you go along using prompt as guide.
|
||||
|
||||
Go through codebase and read docs and code, write some TODO statements.
|
||||
1
.github/prompts/LAMBDA_PROMPT.md
vendored
Normal file
1
.github/prompts/LAMBDA_PROMPT.md
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Make entire project so its 1 lambda/function per file, then make a class that wraps a bunch of lambdas. This solves the awkward code length problem.
|
||||
14
.github/workflows/README.md
vendored
14
.github/workflows/README.md
vendored
@@ -131,6 +131,14 @@ All workflows are designed to work seamlessly with **GitHub Copilot** to assist
|
||||
|
||||
**SDLC Phase:** Deployment & Operations
|
||||
|
||||
### 10. Code Size Limits (`size-limits.yml`)
|
||||
**Triggered on:** Pull requests, pushes to main (when source files change)
|
||||
|
||||
**Features:**
|
||||
- Enforces file size limits and posts PR comments on violations
|
||||
- Uploads a size report artifact
|
||||
- Monitors `frontends/nextjs/src/**` and runs `scripts/enforce-size-limits.ts` from `frontends/nextjs`
|
||||
|
||||
## SDLC Coverage
|
||||
|
||||
### 🎯 Complete Lifecycle Support
|
||||
@@ -232,7 +240,7 @@ The project uses ESLint with TypeScript support and React-specific rules:
|
||||
|
||||
**In Your IDE:**
|
||||
- Reference `.github/copilot-instructions.md` for context
|
||||
- Use PRD.md for feature context
|
||||
- Use docs/getting-started/PRD.md for feature context
|
||||
- Follow existing patterns in `/packages/`
|
||||
- Ask Copilot about architectural decisions
|
||||
|
||||
@@ -336,7 +344,7 @@ npm run build
|
||||
|
||||
**In Your IDE:**
|
||||
- Use GitHub Copilot extension with context from `.github/copilot-instructions.md`
|
||||
- Reference PRD.md when prompting for features
|
||||
- Reference docs/getting-started/PRD.md when prompting for features
|
||||
- Follow patterns from existing packages
|
||||
- Ask about architectural decisions before implementing
|
||||
|
||||
@@ -370,7 +378,7 @@ npm run build
|
||||
|
||||
### For Issues
|
||||
1. **Use clear, descriptive titles** - Helps with automatic categorization
|
||||
2. **Provide context** - Link to PRD sections, mention permission levels
|
||||
2. **Provide context** - Link to docs/getting-started/PRD.md sections, mention permission levels
|
||||
3. **Consider architecture** - Is this declarative? Package-worthy? Multi-tenant?
|
||||
4. **Use labels appropriately** - Triggers relevant workflow automation
|
||||
5. **Engage with @copilot** - Get AI assistance throughout implementation
|
||||
|
||||
111
.github/workflows/ci.yml
vendored
111
.github/workflows/ci.yml
vendored
@@ -10,6 +10,9 @@ jobs:
|
||||
prisma-check:
|
||||
name: Validate Prisma setup
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
@@ -18,18 +21,22 @@ jobs:
|
||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
run: bun run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
- name: Validate Prisma Schema
|
||||
run: npx prisma validate
|
||||
run: bunx prisma validate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
@@ -37,6 +44,9 @@ jobs:
|
||||
name: TypeScript Type Check
|
||||
runs-on: ubuntu-latest
|
||||
needs: prisma-check
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
@@ -45,23 +55,30 @@ jobs:
|
||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
run: bun run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
- name: Run TypeScript type check
|
||||
run: npm run typecheck
|
||||
run: bun run typecheck
|
||||
|
||||
lint:
|
||||
name: Lint Code
|
||||
runs-on: ubuntu-latest
|
||||
needs: prisma-check
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
@@ -70,23 +87,30 @@ jobs:
|
||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
run: bun run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
- name: Run ESLint
|
||||
run: npm run lint
|
||||
run: bun run lint
|
||||
|
||||
test-unit:
|
||||
name: Unit Tests
|
||||
runs-on: ubuntu-latest
|
||||
needs: [typecheck, lint]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
@@ -95,18 +119,22 @@ jobs:
|
||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
run: bun run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
- name: Run unit tests
|
||||
run: npm run test:unit
|
||||
run: bun run test:unit
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
@@ -115,13 +143,16 @@ jobs:
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: coverage-report
|
||||
path: coverage/
|
||||
path: frontends/nextjs/coverage/
|
||||
retention-days: 7
|
||||
|
||||
build:
|
||||
name: Build Application
|
||||
runs-on: ubuntu-latest
|
||||
needs: test-unit
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
@@ -130,18 +161,22 @@ jobs:
|
||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
run: bun run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
run: bun run build
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
@@ -149,13 +184,16 @@ jobs:
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
path: frontends/nextjs/.next/
|
||||
retention-days: 7
|
||||
|
||||
test-e2e:
|
||||
name: E2E Tests
|
||||
runs-on: ubuntu-latest
|
||||
needs: [typecheck, lint]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
@@ -164,21 +202,25 @@ jobs:
|
||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
run: bun run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: npx playwright install --with-deps chromium
|
||||
run: bunx playwright install --with-deps chromium
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: npm run test:e2e
|
||||
run: bun run test:e2e
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
@@ -187,13 +229,16 @@ jobs:
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
path: frontends/nextjs/playwright-report/
|
||||
retention-days: 7
|
||||
|
||||
quality-check:
|
||||
name: Code Quality Check
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'pull_request'
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
@@ -204,13 +249,17 @@ jobs:
|
||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bun install
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
run: bun run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
|
||||
4
.github/workflows/code-review.yml
vendored
4
.github/workflows/code-review.yml
vendored
@@ -13,6 +13,9 @@ jobs:
|
||||
automated-review:
|
||||
name: AI-Assisted Code Review
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -24,6 +27,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
12
.github/workflows/deployment.yml
vendored
12
.github/workflows/deployment.yml
vendored
@@ -26,6 +26,9 @@ jobs:
|
||||
pre-deployment-check:
|
||||
name: Pre-Deployment Validation
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -37,6 +40,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -207,6 +211,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: deployment-summary
|
||||
if: github.event_name == 'push' || github.event_name == 'release'
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -216,6 +223,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -333,6 +341,9 @@ jobs:
|
||||
name: Security Audit
|
||||
runs-on: ubuntu-latest
|
||||
needs: pre-deployment-check
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -342,6 +353,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Audit dependencies
|
||||
id: audit
|
||||
|
||||
192
.github/workflows/detect-stubs.yml
vendored
Normal file
192
.github/workflows/detect-stubs.yml
vendored
Normal file
@@ -0,0 +1,192 @@
|
||||
name: Stub Implementation Detection
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main, master, develop ]
|
||||
types: [opened, synchronize, reopened]
|
||||
push:
|
||||
branches: [ main, master, develop ]
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * 1' # Weekly on Monday
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
detect-stubs:
|
||||
name: Detect Stub Implementations
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Generate Prisma Client
|
||||
run: npm run db:generate
|
||||
env:
|
||||
DATABASE_URL: file:./dev.db
|
||||
|
||||
# Pattern-based stub detection
|
||||
- name: Detect stub patterns
|
||||
id: detect-patterns
|
||||
run: npx tsx ../../tools/detect-stub-implementations.ts > stub-patterns.json
|
||||
continue-on-error: true
|
||||
|
||||
# Implementation completeness analysis
|
||||
- name: Analyze implementation completeness
|
||||
id: analyze-completeness
|
||||
run: npx tsx ../../tools/analyze-implementation-completeness.ts > implementation-analysis.json
|
||||
continue-on-error: true
|
||||
|
||||
# Generate detailed report
|
||||
- name: Generate stub report
|
||||
id: generate-report
|
||||
run: npx tsx ../../tools/generate-stub-report.ts > stub-report.md
|
||||
continue-on-error: true
|
||||
|
||||
# Check for unimplemented TODOs in changed files (PR only)
|
||||
- name: Check changed files for stubs
|
||||
if: github.event_name == 'pull_request'
|
||||
id: check-changed
|
||||
run: |
|
||||
git diff origin/${{ github.base_ref }}...HEAD -- 'src/**/*.{ts,tsx}' | \
|
||||
grep -E '^\+.*(TODO|FIXME|not implemented|stub|placeholder|mock)' | \
|
||||
tee changed-stubs.txt || true
|
||||
|
||||
STUB_COUNT=$(wc -l < changed-stubs.txt)
|
||||
echo "stub_count=$STUB_COUNT" >> $GITHUB_OUTPUT
|
||||
continue-on-error: true
|
||||
|
||||
# Post PR comment with findings
|
||||
- name: Post stub detection comment
|
||||
if: github.event_name == 'pull_request'
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
|
||||
let comment = '## 🔍 Stub Implementation Detection Report\n\n';
|
||||
|
||||
try {
|
||||
const patternData = JSON.parse(fs.readFileSync('stub-patterns.json', 'utf8'));
|
||||
const completenessData = JSON.parse(fs.readFileSync('implementation-analysis.json', 'utf8'));
|
||||
|
||||
// Summary table
|
||||
comment += '### Summary\n\n';
|
||||
comment += `**Pattern-Based Stubs**: ${patternData.totalStubsFound}\n`;
|
||||
comment += `**Low Completeness Items**: ${completenessData.bySeverity.high + completenessData.bySeverity.medium}\n`;
|
||||
comment += `**Average Completeness**: ${completenessData.averageCompleteness}%\n\n`;
|
||||
|
||||
// Severity breakdown
|
||||
if (patternData.totalStubsFound > 0) {
|
||||
comment += '### Severity Breakdown (Patterns)\n\n';
|
||||
comment += `| Severity | Count |\n`;
|
||||
comment += `|----------|-------|\n`;
|
||||
comment += `| 🔴 Critical | ${patternData.bySeverity.high} |\n`;
|
||||
comment += `| 🟠 Medium | ${patternData.bySeverity.medium} |\n`;
|
||||
comment += `| 🟡 Low | ${patternData.bySeverity.low} |\n\n`;
|
||||
}
|
||||
|
||||
// Type breakdown
|
||||
if (Object.values(patternData.byType).some(v => v > 0)) {
|
||||
comment += '### Issue Types\n\n';
|
||||
for (const [type, count] of Object.entries(patternData.byType)) {
|
||||
if (count > 0) {
|
||||
comment += `- **${type}**: ${count}\n`;
|
||||
}
|
||||
}
|
||||
comment += '\n';
|
||||
}
|
||||
|
||||
// Critical issues
|
||||
if (patternData.criticalIssues && patternData.criticalIssues.length > 0) {
|
||||
comment += '### 🔴 Critical Issues Found\n\n';
|
||||
comment += '<details><summary>Click to expand</summary>\n\n';
|
||||
comment += `| File | Line | Function | Type |\n`;
|
||||
comment += `|------|------|----------|------|\n`;
|
||||
patternData.criticalIssues.slice(0, 10).forEach(issue => {
|
||||
comment += `| ${issue.file} | ${issue.line} | \`${issue.function}\` | ${issue.type} |\n`;
|
||||
});
|
||||
comment += '\n</details>\n\n';
|
||||
}
|
||||
|
||||
// Recommendations
|
||||
comment += '### 📋 Recommendations\n\n';
|
||||
comment += '- [ ] Review all critical stubs before merging\n';
|
||||
comment += '- [ ] Replace TODO comments with GitHub issues\n';
|
||||
comment += '- [ ] Implement placeholder functions before production\n';
|
||||
comment += '- [ ] Run `npm run test:check-functions` to ensure coverage\n';
|
||||
comment += '- [ ] Use type system to force implementation (avoid `any` types)\n\n';
|
||||
|
||||
// Artifacts info
|
||||
comment += '### 📁 Detailed Reports\n\n';
|
||||
comment += 'Full analysis available in artifacts:\n';
|
||||
comment += '- `stub-patterns.json` - Pattern-based detection results\n';
|
||||
comment += '- `implementation-analysis.json` - Completeness scoring\n';
|
||||
comment += '- `stub-report.md` - Detailed markdown report\n';
|
||||
} catch (e) {
|
||||
comment += '⚠️ Could not generate detailed report. Check logs for errors.\n';
|
||||
}
|
||||
|
||||
github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: comment
|
||||
});
|
||||
|
||||
# Upload detailed reports
|
||||
- name: Upload stub detection reports
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: stub-detection-reports
|
||||
path: |
|
||||
stub-patterns.json
|
||||
implementation-analysis.json
|
||||
stub-report.md
|
||||
changed-stubs.txt
|
||||
retention-days: 30
|
||||
|
||||
# Create check run with summary
|
||||
- name: Create check run
|
||||
uses: actions/github-script@v7
|
||||
if: always()
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
|
||||
let summary = '';
|
||||
try {
|
||||
const data = JSON.parse(fs.readFileSync('stub-patterns.json', 'utf8'));
|
||||
summary = `Found ${data.totalStubsFound} stub implementations (${data.bySeverity.high} high severity)`;
|
||||
} catch (e) {
|
||||
summary = 'Stub detection completed. See artifacts for details.';
|
||||
}
|
||||
|
||||
github.rest.checks.create({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
name: 'Stub Implementation Detection',
|
||||
head_sha: context.sha,
|
||||
status: 'completed',
|
||||
conclusion: 'neutral',
|
||||
summary: summary
|
||||
});
|
||||
4
.github/workflows/development.yml
vendored
4
.github/workflows/development.yml
vendored
@@ -22,6 +22,9 @@ jobs:
|
||||
if: |
|
||||
github.event_name == 'push' ||
|
||||
(github.event_name == 'pull_request' && !github.event.pull_request.draft)
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -33,6 +36,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
94
.github/workflows/issue-triage.yml
vendored
94
.github/workflows/issue-triage.yml
vendored
@@ -80,19 +80,19 @@ jobs:
|
||||
}
|
||||
|
||||
// Post welcome comment
|
||||
const comment = `👋 Thank you for opening this issue!
|
||||
|
||||
This issue has been automatically labeled as: ${labels.join(', ')}
|
||||
|
||||
${labels.includes('ai-fixable') ? '🤖 This issue appears to be something AI can help with! A fix may be automatically attempted.' : ''}
|
||||
|
||||
A maintainer will review this issue soon. In the meantime, please make sure you've provided:
|
||||
- A clear description of the issue
|
||||
- Steps to reproduce (for bugs)
|
||||
- Expected vs actual behavior
|
||||
- Any relevant error messages or screenshots
|
||||
|
||||
@copilot may be able to help with this issue.`;
|
||||
const aiHelpText = labels.includes('ai-fixable')
|
||||
? '\n\n🤖 This issue appears to be something AI can help with! A fix may be automatically attempted.'
|
||||
: '';
|
||||
|
||||
const comment = '👋 Thank you for opening this issue!\n\n' +
|
||||
'This issue has been automatically labeled as: ' + labels.join(', ') +
|
||||
aiHelpText + '\n\n' +
|
||||
'A maintainer will review this issue soon. In the meantime, please make sure you have provided:\n' +
|
||||
'- A clear description of the issue\n' +
|
||||
'- Steps to reproduce (for bugs)\n' +
|
||||
'- Expected vs actual behavior\n' +
|
||||
'- Any relevant error messages or screenshots\n\n' +
|
||||
'Copilot may be able to help with this issue.';
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
@@ -116,28 +116,23 @@ A maintainer will review this issue soon. In the meantime, please make sure you'
|
||||
with:
|
||||
script: |
|
||||
const issue = context.payload.issue;
|
||||
const labelList = issue.labels.map(l => l.name).join(', ');
|
||||
|
||||
const comment = `🤖 **AI-Assisted Fix Attempt**
|
||||
|
||||
I've analyzed this issue and here are my suggestions:
|
||||
|
||||
**Issue Type:** ${issue.labels.map(l => l.name).join(', ')}
|
||||
|
||||
**Suggested Actions:**
|
||||
1. Review the issue description carefully
|
||||
2. Check for similar issues in the repository history
|
||||
3. Consider using @copilot to help implement the fix
|
||||
|
||||
**To request an automated fix:**
|
||||
- Add the \`auto-fix\` label to this issue
|
||||
- Ensure the issue description clearly explains:
|
||||
- What needs to be fixed
|
||||
- Where the issue is located (file/line if known)
|
||||
- Expected behavior
|
||||
|
||||
**Note:** Complex issues may require human review before implementation.
|
||||
|
||||
Would you like me to attempt an automated fix? If so, please confirm by commenting "@copilot fix this issue".`;
|
||||
const comment = '🤖 **AI-Assisted Fix Attempt**\n\n' +
|
||||
'I have analyzed this issue and here are my suggestions:\n\n' +
|
||||
'**Issue Type:** ' + labelList + '\n\n' +
|
||||
'**Suggested Actions:**\n' +
|
||||
'1. Review the issue description carefully\n' +
|
||||
'2. Check for similar issues in the repository history\n' +
|
||||
'3. Consider using Copilot to help implement the fix\n\n' +
|
||||
'**To request an automated fix:**\n' +
|
||||
'- Add the auto-fix label to this issue\n' +
|
||||
'- Ensure the issue description clearly explains:\n' +
|
||||
' - What needs to be fixed\n' +
|
||||
' - Where the issue is located (file/line if known)\n' +
|
||||
' - Expected behavior\n\n' +
|
||||
'**Note:** Complex issues may require human review before implementation.\n\n' +
|
||||
'Would you like me to attempt an automated fix? If so, please confirm by commenting "Copilot fix this issue".';
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
@@ -165,26 +160,19 @@ Would you like me to attempt an automated fix? If so, please confirm by commenti
|
||||
with:
|
||||
script: |
|
||||
const issue = context.payload.issue;
|
||||
const branchName = `auto-fix/issue-${issue.number}`;
|
||||
const branchName = 'auto-fix/issue-' + issue.number;
|
||||
|
||||
const comment = `🤖 **Automated Fix PR Creation**
|
||||
|
||||
I've created a branch \`${branchName}\` for this fix.
|
||||
|
||||
**Next Steps:**
|
||||
1. A developer or @copilot will work on the fix in this branch
|
||||
2. A pull request will be created automatically
|
||||
3. The PR will be linked to this issue
|
||||
|
||||
**Branch:** \`${branchName}\`
|
||||
|
||||
To work on this fix:
|
||||
\`\`\`bash
|
||||
git fetch origin
|
||||
git checkout ${branchName}
|
||||
\`\`\`
|
||||
|
||||
This issue will be automatically closed when the PR is merged.`;
|
||||
const comment = '🤖 **Automated Fix PR Creation**\n\n' +
|
||||
'I have created a branch ' + branchName + ' for this fix.\n\n' +
|
||||
'**Next Steps:**\n' +
|
||||
'1. A developer or Copilot will work on the fix in this branch\n' +
|
||||
'2. A pull request will be created automatically\n' +
|
||||
'3. The PR will be linked to this issue\n\n' +
|
||||
'**Branch:** ' + branchName + '\n\n' +
|
||||
'To work on this fix:\n' +
|
||||
'git fetch origin\n' +
|
||||
'git checkout ' + branchName + '\n\n' +
|
||||
'This issue will be automatically closed when the PR is merged.';
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
|
||||
4
.github/workflows/planning.yml
vendored
4
.github/workflows/planning.yml
vendored
@@ -110,7 +110,7 @@ jobs:
|
||||
const issue = context.payload.issue;
|
||||
|
||||
try {
|
||||
const prd = fs.readFileSync('PRD.md', 'utf8');
|
||||
const prd = fs.readFileSync('docs/getting-started/PRD.md', 'utf8');
|
||||
|
||||
// Extract key terms from issue
|
||||
const issueText = (issue.title + ' ' + issue.body).toLowerCase();
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
|
||||
if (foundKeywords.length > 0) {
|
||||
comment += `This feature relates to the following PRD concepts: **${foundKeywords.join(', ')}**\n\n`;
|
||||
comment += `Please review [PRD.md](/PRD.md) to ensure alignment with the project mission and existing features.\n\n`;
|
||||
comment += `Please review [docs/getting-started/PRD.md](/docs/getting-started/PRD.md) to ensure alignment with the project mission and existing features.\n\n`;
|
||||
}
|
||||
|
||||
comment += `### 🎯 Mission Statement\n\n`;
|
||||
|
||||
48
.github/workflows/pr-management.yml
vendored
48
.github/workflows/pr-management.yml
vendored
@@ -118,20 +118,23 @@ jobs:
|
||||
}
|
||||
|
||||
if (issues.length > 0) {
|
||||
const comment = `## 📋 PR Description Checklist
|
||||
|
||||
The following items could improve this PR:
|
||||
|
||||
${issues.map(i => `- [ ] ${i}`).join('\n')}
|
||||
|
||||
**Good PR descriptions include:**
|
||||
- What changes were made and why
|
||||
- How to test the changes
|
||||
- Any breaking changes or special considerations
|
||||
- Links to related issues
|
||||
- Screenshots (for UI changes)
|
||||
|
||||
This is a friendly reminder to help maintain code quality! 😊`;
|
||||
const issueList = issues.map(i => '- [ ] ' + i).join('\n');
|
||||
const comment = [
|
||||
'## \uD83D\uDCCB PR Description Checklist',
|
||||
'',
|
||||
'The following items could improve this PR:',
|
||||
'',
|
||||
issueList,
|
||||
'',
|
||||
'**Good PR descriptions include:**',
|
||||
'- What changes were made and why',
|
||||
'- How to test the changes',
|
||||
'- Any breaking changes or special considerations',
|
||||
'- Links to related issues',
|
||||
'- Screenshots (for UI changes)',
|
||||
'',
|
||||
'This is a friendly reminder to help maintain code quality! \uD83D\uDE0A'
|
||||
].join('\n');
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
@@ -158,11 +161,14 @@ This is a friendly reminder to help maintain code quality! 😊`;
|
||||
const issueNumbers = [...body.matchAll(/#(\d+)/g)].map(m => m[1]);
|
||||
|
||||
if (issueNumbers.length > 0) {
|
||||
const comment = `🔗 **Related Issues**
|
||||
|
||||
This PR is related to: ${issueNumbers.map(n => `#${n}`).join(', ')}
|
||||
|
||||
These issues will be automatically closed when this PR is merged.`;
|
||||
const relatedList = issueNumbers.map(n => '#' + n).join(', ');
|
||||
const comment = [
|
||||
'\uD83D\uDD17 **Related Issues**',
|
||||
'',
|
||||
'This PR is related to: ' + relatedList,
|
||||
'',
|
||||
'These issues will be automatically closed when this PR is merged.'
|
||||
].join('\n');
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
@@ -178,10 +184,10 @@ These issues will be automatically closed when this PR is merged.`;
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: parseInt(issueNum),
|
||||
body: `🔗 Pull request #${pr.number} has been created to address this issue.`
|
||||
body: '\uD83D\uDD17 Pull request #' + pr.number + ' has been created to address this issue.'
|
||||
});
|
||||
} catch (e) {
|
||||
console.log(`Could not comment on issue #${issueNum}`);
|
||||
console.log('Could not comment on issue #' + issueNum);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
160
.github/workflows/quality-metrics.yml
vendored
160
.github/workflows/quality-metrics.yml
vendored
@@ -18,6 +18,9 @@ jobs:
|
||||
code-quality:
|
||||
name: Code Quality Analysis
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -29,6 +32,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -43,20 +47,20 @@ jobs:
|
||||
id: complexity
|
||||
run: |
|
||||
npm install -D ts-morph @swc/core
|
||||
npx tsx scripts/check-code-complexity.ts > complexity-report.json
|
||||
npx tsx ../../tools/check-code-complexity.ts > complexity-report.json
|
||||
cat complexity-report.json
|
||||
continue-on-error: true
|
||||
|
||||
# Function metrics
|
||||
- name: Analyze function metrics
|
||||
id: metrics
|
||||
run: npx tsx scripts/analyze-function-metrics.ts > function-metrics.json
|
||||
run: npx tsx ../../tools/analyze-function-metrics.ts > function-metrics.json
|
||||
continue-on-error: true
|
||||
|
||||
# Maintainability Index
|
||||
- name: Calculate maintainability index
|
||||
id: maintainability
|
||||
run: npx tsx scripts/check-maintainability.ts > maintainability-report.json
|
||||
run: npx tsx ../../tools/check-maintainability.ts > maintainability-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload quality reports
|
||||
@@ -65,9 +69,9 @@ jobs:
|
||||
with:
|
||||
name: code-quality-reports
|
||||
path: |
|
||||
complexity-report.json
|
||||
function-metrics.json
|
||||
maintainability-report.json
|
||||
frontends/nextjs/complexity-report.json
|
||||
frontends/nextjs/function-metrics.json
|
||||
frontends/nextjs/maintainability-report.json
|
||||
retention-days: 30
|
||||
|
||||
# ============================================================================
|
||||
@@ -76,6 +80,9 @@ jobs:
|
||||
coverage-metrics:
|
||||
name: Test Coverage Analysis
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -85,6 +92,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -111,7 +119,7 @@ jobs:
|
||||
|
||||
- name: Extract coverage metrics
|
||||
id: coverage-extract
|
||||
run: npx tsx scripts/extract-coverage-metrics.ts
|
||||
run: npx tsx ../../tools/extract-coverage-metrics.ts
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload coverage artifacts
|
||||
@@ -120,10 +128,10 @@ jobs:
|
||||
with:
|
||||
name: coverage-reports
|
||||
path: |
|
||||
coverage/
|
||||
FUNCTION_TEST_COVERAGE.md
|
||||
function-coverage.txt
|
||||
coverage-metrics.json
|
||||
frontends/nextjs/coverage/
|
||||
frontends/nextjs/FUNCTION_TEST_COVERAGE.md
|
||||
frontends/nextjs/function-coverage.txt
|
||||
frontends/nextjs/coverage-metrics.json
|
||||
retention-days: 30
|
||||
|
||||
# ============================================================================
|
||||
@@ -132,6 +140,9 @@ jobs:
|
||||
security-scan:
|
||||
name: Security Vulnerability Scan
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
@@ -144,6 +155,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -153,13 +165,13 @@ jobs:
|
||||
id: npm-audit
|
||||
run: |
|
||||
npm audit --json > npm-audit.json || true
|
||||
npx tsx scripts/parse-npm-audit.ts
|
||||
npx tsx ../../tools/parse-npm-audit.ts
|
||||
continue-on-error: true
|
||||
|
||||
# Check for security anti-patterns
|
||||
- name: Scan for security issues
|
||||
id: security-scan
|
||||
run: npx tsx scripts/security-scanner.ts > security-report.json
|
||||
run: npx tsx ../../tools/security-scanner.ts > security-report.json
|
||||
continue-on-error: true
|
||||
|
||||
# OWASP Dependency Check (if configured)
|
||||
@@ -182,8 +194,8 @@ jobs:
|
||||
with:
|
||||
name: security-reports
|
||||
path: |
|
||||
npm-audit.json
|
||||
security-report.json
|
||||
frontends/nextjs/npm-audit.json
|
||||
frontends/nextjs/security-report.json
|
||||
dependency-check-report.json
|
||||
retention-days: 30
|
||||
|
||||
@@ -193,6 +205,9 @@ jobs:
|
||||
documentation-quality:
|
||||
name: Documentation Coverage & Quality
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -204,33 +219,34 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check JSDoc coverage
|
||||
id: jsdoc
|
||||
run: npx tsx scripts/check-jsdoc-coverage.ts > jsdoc-report.json
|
||||
run: npx tsx ../../tools/check-jsdoc-coverage.ts > jsdoc-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Validate README files
|
||||
id: readme
|
||||
run: npx tsx scripts/validate-readme-quality.ts > readme-report.json
|
||||
run: npx tsx ../../tools/validate-readme-quality.ts > readme-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Validate markdown links
|
||||
id: markdown-links
|
||||
run: npx tsx scripts/validate-markdown-links.ts > markdown-links-report.json
|
||||
run: npx tsx ../../tools/validate-markdown-links.ts > markdown-links-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check API documentation
|
||||
id: api-docs
|
||||
run: npx tsx scripts/validate-api-docs.ts > api-docs-report.json
|
||||
run: npx tsx ../../tools/validate-api-docs.ts > api-docs-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Verify code examples
|
||||
id: code-examples
|
||||
run: npx tsx scripts/validate-code-examples.ts > code-examples-report.json
|
||||
run: npx tsx ../../tools/validate-code-examples.ts > code-examples-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload documentation reports
|
||||
@@ -239,11 +255,11 @@ jobs:
|
||||
with:
|
||||
name: documentation-reports
|
||||
path: |
|
||||
jsdoc-report.json
|
||||
readme-report.json
|
||||
markdown-links-report.json
|
||||
api-docs-report.json
|
||||
code-examples-report.json
|
||||
frontends/nextjs/jsdoc-report.json
|
||||
frontends/nextjs/readme-report.json
|
||||
frontends/nextjs/markdown-links-report.json
|
||||
frontends/nextjs/api-docs-report.json
|
||||
frontends/nextjs/code-examples-report.json
|
||||
retention-days: 30
|
||||
|
||||
# ============================================================================
|
||||
@@ -252,6 +268,9 @@ jobs:
|
||||
performance-metrics:
|
||||
name: Performance Analysis
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -261,6 +280,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -277,22 +297,22 @@ jobs:
|
||||
|
||||
- name: Analyze bundle size
|
||||
id: bundle
|
||||
run: npx tsx scripts/analyze-bundle-size.ts > bundle-analysis.json
|
||||
run: npx tsx ../../tools/analyze-bundle-size.ts > bundle-analysis.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check performance budget
|
||||
id: perf-budget
|
||||
run: npx tsx scripts/check-performance-budget.ts > performance-budget.json
|
||||
run: npx tsx ../../tools/check-performance-budget.ts > performance-budget.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Lighthouse audit
|
||||
id: lighthouse
|
||||
run: npx tsx scripts/run-lighthouse-audit.ts > lighthouse-report.json
|
||||
run: npx tsx ../../tools/run-lighthouse-audit.ts > lighthouse-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Analyze render performance
|
||||
id: render-perf
|
||||
run: npx tsx scripts/analyze-render-performance.ts > render-performance.json
|
||||
run: npx tsx ../../tools/analyze-render-performance.ts > render-performance.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload performance reports
|
||||
@@ -301,10 +321,10 @@ jobs:
|
||||
with:
|
||||
name: performance-reports
|
||||
path: |
|
||||
bundle-analysis.json
|
||||
performance-budget.json
|
||||
lighthouse-report.json
|
||||
render-performance.json
|
||||
frontends/nextjs/bundle-analysis.json
|
||||
frontends/nextjs/performance-budget.json
|
||||
frontends/nextjs/lighthouse-report.json
|
||||
frontends/nextjs/render-performance.json
|
||||
retention-days: 30
|
||||
|
||||
# ============================================================================
|
||||
@@ -313,6 +333,9 @@ jobs:
|
||||
size-metrics:
|
||||
name: File Size & Architecture Analysis
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -324,28 +347,29 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check source file sizes
|
||||
id: file-sizes
|
||||
run: npx tsx scripts/check-file-sizes.ts > file-sizes-report.json
|
||||
run: npx tsx ../../tools/check-file-sizes.ts > file-sizes-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Analyze directory structure
|
||||
id: dir-structure
|
||||
run: npx tsx scripts/analyze-directory-structure.ts > directory-structure.json
|
||||
run: npx tsx ../../tools/analyze-directory-structure.ts > directory-structure.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check for code duplication
|
||||
id: duplication
|
||||
run: npx tsx scripts/detect-code-duplication.ts > duplication-report.json
|
||||
run: npx tsx ../../tools/detect-code-duplication.ts > duplication-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Analyze import chains
|
||||
id: imports
|
||||
run: npx tsx scripts/analyze-import-chains.ts > import-analysis.json
|
||||
run: npx tsx ../../tools/analyze-import-chains.ts > import-analysis.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload size reports
|
||||
@@ -354,10 +378,10 @@ jobs:
|
||||
with:
|
||||
name: size-reports
|
||||
path: |
|
||||
file-sizes-report.json
|
||||
directory-structure.json
|
||||
duplication-report.json
|
||||
import-analysis.json
|
||||
frontends/nextjs/file-sizes-report.json
|
||||
frontends/nextjs/directory-structure.json
|
||||
frontends/nextjs/duplication-report.json
|
||||
frontends/nextjs/import-analysis.json
|
||||
retention-days: 30
|
||||
|
||||
# ============================================================================
|
||||
@@ -366,6 +390,9 @@ jobs:
|
||||
dependency-analysis:
|
||||
name: Dependency Health Check
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -375,6 +402,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -386,17 +414,17 @@ jobs:
|
||||
|
||||
- name: License compliance check
|
||||
id: licenses
|
||||
run: npx tsx scripts/check-license-compliance.ts > license-report.json
|
||||
run: npx tsx ../../tools/check-license-compliance.ts > license-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Analyze dependency tree
|
||||
id: tree
|
||||
run: npx tsx scripts/analyze-dependency-tree.ts > dependency-tree.json
|
||||
run: npx tsx ../../tools/analyze-dependency-tree.ts > dependency-tree.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check for circular dependencies
|
||||
id: circular
|
||||
run: npx tsx scripts/detect-circular-dependencies.ts > circular-deps.json
|
||||
run: npx tsx ../../tools/detect-circular-dependencies.ts > circular-deps.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload dependency reports
|
||||
@@ -405,10 +433,10 @@ jobs:
|
||||
with:
|
||||
name: dependency-reports
|
||||
path: |
|
||||
outdated-deps.json
|
||||
license-report.json
|
||||
dependency-tree.json
|
||||
circular-deps.json
|
||||
frontends/nextjs/outdated-deps.json
|
||||
frontends/nextjs/license-report.json
|
||||
frontends/nextjs/dependency-tree.json
|
||||
frontends/nextjs/circular-deps.json
|
||||
retention-days: 30
|
||||
|
||||
# ============================================================================
|
||||
@@ -417,6 +445,9 @@ jobs:
|
||||
type-and-lint-metrics:
|
||||
name: Type Safety & Code Style Metrics
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -428,6 +459,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -439,24 +471,24 @@ jobs:
|
||||
|
||||
- name: TypeScript strict check
|
||||
id: ts-strict
|
||||
run: npx tsx scripts/check-typescript-strict.ts > ts-strict-report.json
|
||||
run: npx tsx ../../tools/check-typescript-strict.ts > ts-strict-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: ESLint detailed report
|
||||
id: eslint
|
||||
run: |
|
||||
npx eslint . --format json > eslint-report.json || true
|
||||
npx tsx scripts/parse-eslint-report.ts
|
||||
npx tsx ../../tools/parse-eslint-report.ts
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check for @ts-ignore usage
|
||||
id: ts-ignore
|
||||
run: npx tsx scripts/find-ts-ignores.ts > ts-ignore-report.json
|
||||
run: npx tsx ../../tools/find-ts-ignores.ts > ts-ignore-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check for any types
|
||||
id: any-types
|
||||
run: npx tsx scripts/find-any-types.ts > any-types-report.json
|
||||
run: npx tsx ../../tools/find-any-types.ts > any-types-report.json
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload type reports
|
||||
@@ -465,10 +497,10 @@ jobs:
|
||||
with:
|
||||
name: type-reports
|
||||
path: |
|
||||
ts-strict-report.json
|
||||
eslint-report.json
|
||||
ts-ignore-report.json
|
||||
any-types-report.json
|
||||
frontends/nextjs/ts-strict-report.json
|
||||
frontends/nextjs/eslint-report.json
|
||||
frontends/nextjs/ts-ignore-report.json
|
||||
frontends/nextjs/any-types-report.json
|
||||
retention-days: 30
|
||||
|
||||
# ============================================================================
|
||||
@@ -488,6 +520,9 @@ jobs:
|
||||
type-and-lint-metrics
|
||||
]
|
||||
if: always()
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
permissions:
|
||||
checks: write
|
||||
pull-requests: write
|
||||
@@ -501,6 +536,7 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -512,7 +548,7 @@ jobs:
|
||||
|
||||
- name: Generate quality summary
|
||||
id: summary
|
||||
run: npx tsx scripts/generate-quality-summary.ts > quality-summary.md
|
||||
run: npx tsx ../../tools/generate-quality-summary.ts > quality-summary.md
|
||||
continue-on-error: true
|
||||
|
||||
- name: Post summary as PR comment
|
||||
@@ -524,8 +560,9 @@ jobs:
|
||||
const path = require('path');
|
||||
|
||||
let summaryContent = '';
|
||||
if (fs.existsSync('quality-summary.md')) {
|
||||
summaryContent = fs.readFileSync('quality-summary.md', 'utf8');
|
||||
const summaryPath = 'frontends/nextjs/quality-summary.md';
|
||||
if (fs.existsSync(summaryPath)) {
|
||||
summaryContent = fs.readFileSync(summaryPath, 'utf8');
|
||||
}
|
||||
|
||||
const comment = `## 📊 Quality Metrics Report\n\n${summaryContent}\n\n<details><summary>📁 Full Reports (click to expand)</summary>\n\nAll detailed reports are available as build artifacts.\n</details>`;
|
||||
@@ -543,8 +580,9 @@ jobs:
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
const summary = fs.existsSync('quality-summary.md')
|
||||
? fs.readFileSync('quality-summary.md', 'utf8')
|
||||
const summaryPath = 'frontends/nextjs/quality-summary.md';
|
||||
const summary = fs.existsSync(summaryPath)
|
||||
? fs.readFileSync(summaryPath, 'utf8')
|
||||
: 'Quality metrics report generated.';
|
||||
|
||||
github.rest.checks.create({
|
||||
|
||||
16
.github/workflows/size-limits.yml
vendored
16
.github/workflows/size-limits.yml
vendored
@@ -3,18 +3,21 @@ name: Code Size Limits
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**/*.{ts,tsx,js,jsx}'
|
||||
- 'scripts/enforce-size-limits.ts'
|
||||
- 'frontends/nextjs/src/**/*.{ts,tsx,js,jsx}'
|
||||
- 'tools/enforce-size-limits.ts'
|
||||
- '.github/workflows/size-limits.yml'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'src/**/*.{ts,tsx,js,jsx}'
|
||||
- 'frontends/nextjs/src/**/*.{ts,tsx,js,jsx}'
|
||||
|
||||
jobs:
|
||||
size-limits:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontends/nextjs
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -24,19 +27,20 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontends/nextjs/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check code size limits
|
||||
run: npx tsx scripts/enforce-size-limits.ts
|
||||
run: npx tsx ../../tools/enforce-size-limits.ts
|
||||
|
||||
- name: Upload report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: size-limits-report
|
||||
path: size-limits-report.json
|
||||
path: frontends/nextjs/size-limits-report.json
|
||||
retention-days: 7
|
||||
|
||||
- name: Comment on PR
|
||||
@@ -45,7 +49,7 @@ jobs:
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
const report = JSON.parse(fs.readFileSync('size-limits-report.json', 'utf8'));
|
||||
const report = JSON.parse(fs.readFileSync('frontends/nextjs/size-limits-report.json', 'utf8'));
|
||||
|
||||
let comment = '## 📏 Code Size Limits\n\n';
|
||||
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -12,8 +12,6 @@ yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
.pnp
|
||||
.pnp.js
|
||||
|
||||
@@ -31,6 +29,7 @@ next-env.d.ts
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
.secrets
|
||||
|
||||
# Editor
|
||||
.vscode/*
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
a024526c87d7b9829fc5f702d15e3d3dec2b4557
|
||||
45
.vscode/settings.json
vendored
45
.vscode/settings.json
vendored
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"cmake.sourceDirectory": "/workspaces/metabuilder/dbal/cpp",
|
||||
"cmake.sourceDirectory": "/Users/rmac/Documents/GitHub/metabuilder/dbal/cpp",
|
||||
"chat.mcp.discovery.enabled": {
|
||||
"claude-desktop": true,
|
||||
"windsurf": true,
|
||||
@@ -16,5 +16,46 @@
|
||||
"*": true
|
||||
},
|
||||
"editor.inlineSuggest.enabled": true,
|
||||
"chat.experimental.yolo": true
|
||||
"chat.experimental.yolo": true,
|
||||
"github.copilot.chat.agent.autoApprove": true,
|
||||
"chat.tools.autoApprove": true,
|
||||
"python-envs.defaultEnvManager": "ms-python.python:system",
|
||||
"python-envs.pythonProjects": [],
|
||||
"chat.mcp.serverSampling": {
|
||||
"metabuilder/.vscode/mcp.json: codebase-context": {
|
||||
"allowedModels": [
|
||||
"copilot/claude-sonnet-4.5",
|
||||
"copilot/auto",
|
||||
"copilot/claude-haiku-4.5",
|
||||
"copilot/claude-opus-41",
|
||||
"copilot/claude-opus-4.5",
|
||||
"copilot/claude-sonnet-4",
|
||||
"copilot/gemini-2.5-pro",
|
||||
"copilot/gemini-3-flash-preview",
|
||||
"copilot/gemini-3-pro-preview",
|
||||
"copilot/gpt-4.1",
|
||||
"copilot/gpt-4o",
|
||||
"copilot/gpt-5",
|
||||
"copilot/gpt-5-mini",
|
||||
"copilot/gpt-5-codex",
|
||||
"copilot/gpt-5.1",
|
||||
"copilot/gpt-5.1-codex",
|
||||
"copilot/gpt-5.1-codex-max",
|
||||
"copilot/gpt-5.1-codex-mini",
|
||||
"copilot/gpt-5.2",
|
||||
"copilot/grok-code-fast-1",
|
||||
"copilot/oswe-vscode-prime"
|
||||
]
|
||||
}
|
||||
},
|
||||
"chat.tools.urls.autoApprove": {
|
||||
"http://localhost:*": true,
|
||||
"http://127.0.0.1:*": true,
|
||||
"https://localhost:*": true,
|
||||
"https://github.com/rmac/*": true,
|
||||
"https://api.github.com/*": true,
|
||||
"https://docs.github.com/*": true,
|
||||
"https://www.npmjs.com/*": true,
|
||||
"https://registry.npmjs.org/*": true
|
||||
}
|
||||
}
|
||||
49
AGENTS.md
Normal file
49
AGENTS.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Repository Guidelines
|
||||
|
||||
## Project Structure & Module Organization
|
||||
|
||||
- `frontends/nextjs/`: primary Next.js app (source in `src/`, E2E in `e2e/`, local helper scripts in `scripts/`).
|
||||
- `packages/`: JSON-driven component packages (`seed/*.json`, optional `static_content/`, and `tests/` for schema/structure checks).
|
||||
- `dbal/`: database abstraction layer (TypeScript library in `dbal/ts/`; additional tooling/docs under `dbal/`).
|
||||
- `prisma/`: Prisma schema and migrations (`schema.prisma`, `migrations/`).
|
||||
- `config/`: shared config (Playwright/Vite/TS/ESLint) symlinked into `frontends/nextjs/`.
|
||||
- `tools/`: repo utilities (quality checks, workflow helpers, code analysis).
|
||||
|
||||
## Build, Test, and Development Commands
|
||||
|
||||
Run app workflows from `frontends/nextjs/`:
|
||||
|
||||
- `npm install` (or `npm ci`): install dependencies.
|
||||
- `npm run dev`: start local dev server.
|
||||
- `npm run build` / `npm run start`: production build and serve.
|
||||
- `npm run lint` / `npm run lint:fix`: lint (and auto-fix where safe).
|
||||
- `npm run typecheck`: TypeScript checking (`tsc --noEmit`).
|
||||
- `npm run test:unit` / `npm run test:coverage`: Vitest unit tests (coverage output to `frontends/nextjs/coverage/`).
|
||||
- `npm run test:e2e`: Playwright E2E tests.
|
||||
- `npm run db:generate` / `npm run db:push` / `npm run db:migrate`: Prisma client + schema/migrations.
|
||||
|
||||
DBAL library workflows live in `dbal/ts/` (`npm run build`, `npm run test:unit`).
|
||||
|
||||
## Coding Style & Naming Conventions
|
||||
|
||||
- TypeScript + ESM. Prefer `@/…` imports inside `frontends/nextjs/src/`.
|
||||
- React components: `PascalCase.tsx`; hooks: `useThing.ts`; tests: `*.test.ts(x)`.
|
||||
- UI: use Material UI (`@mui/*`) and SCSS/modules as needed; do not introduce Radix UI or Tailwind (see `UI_STANDARDS.md`).
|
||||
- Package metadata: keep `packages/*/seed/metadata.json` `packageId` in `snake_case` and versions semver (e.g. `1.2.3`).
|
||||
|
||||
## Testing Guidelines
|
||||
|
||||
- Unit: Vitest (`frontends/nextjs/src/**/*.test.ts(x)` and `packages/*/tests/*.test.ts`).
|
||||
- E2E: Playwright (`frontends/nextjs/e2e/`).
|
||||
- Add/adjust tests with behavior changes; keep tests deterministic (no network, stable clocks/IDs).
|
||||
|
||||
## Commit & Pull Request Guidelines
|
||||
|
||||
- Commits generally follow Conventional Commits (examples in history: `feat: …`, `fix: …`, `docs: …`, `refactor: …`, `chore: …`).
|
||||
- PRs should include: what/why, linked issue (if any), screenshots for UI changes, and notes on DB/schema changes.
|
||||
- Before opening a PR, run `npm run lint`, `npm run typecheck`, and the relevant tests.
|
||||
|
||||
## Agent-Specific Notes
|
||||
|
||||
- Check for scoped rules in nested `AGENTS.md` files (e.g., `dbal/AGENTS.md`) before editing those areas.
|
||||
- Keep changes focused, avoid dependency churn, and follow existing patterns/config in `config/` and `frontends/nextjs/`.
|
||||
256
README.md
256
README.md
@@ -1,256 +0,0 @@
|
||||
# MetaBuilder - Enterprise Data Platform
|
||||
|
||||
MetaBuilder is a powerful, declarative enterprise data platform built on a 5-level permission system. It enables rapid development of multi-tenant data applications with JSON configurations and Lua scripting.
|
||||
|
||||
## 📋 Table of Contents
|
||||
|
||||
- [Features](#features)
|
||||
- [Quick Start](#quick-start)
|
||||
- [Architecture](#architecture)
|
||||
- [Documentation](#documentation)
|
||||
- [Development](#development)
|
||||
- [Project Structure](#project-structure)
|
||||
|
||||
## ✨ Features
|
||||
|
||||
- **5-Level Permission System** - Granular access control (User, Admin, God, SuperGod, SystemRoot)
|
||||
- **Multi-Tenant Architecture** - Built-in support for tenant isolation
|
||||
- **Declarative Configuration** - Define features in JSON, not code
|
||||
- **Lua Scripting** - Dynamic business logic without recompilation
|
||||
- **Database-Driven** - All configuration stored and managed in database
|
||||
- **Package System** - Modular, reusable feature packages
|
||||
- **Type-Safe** - Full TypeScript support throughout
|
||||
- **CI/CD Ready** - Automated testing, linting, and deployment workflows
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- Node.js 18+
|
||||
- npm or yarn
|
||||
- Docker (optional, for deployment)
|
||||
|
||||
### Development Setup
|
||||
|
||||
```bash
|
||||
# Clone repository
|
||||
git clone <repo>
|
||||
cd metabuilder
|
||||
|
||||
# Install dependencies
|
||||
npm install
|
||||
|
||||
# Set up database
|
||||
npm run db:generate
|
||||
npm run db:push
|
||||
|
||||
# Start development server
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Visit `http://localhost:5173` to access the application.
|
||||
|
||||
### Build for Production
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
npm run preview # Preview production build locally
|
||||
```
|
||||
|
||||
## 📐 Architecture
|
||||
|
||||
MetaBuilder uses a **5-level permission system**:
|
||||
|
||||
```
|
||||
SuperGod (Level 5) - System administrator, full access
|
||||
↓
|
||||
God (Level 4) - Power user, can modify system configuration
|
||||
↓
|
||||
Admin (Level 3) - Tenant administrator, manage users and data
|
||||
↓
|
||||
User (Level 2) - Regular user, standard data access
|
||||
↓
|
||||
Guest (Level 1) - Read-only access (not implemented)
|
||||
```
|
||||
|
||||
### Key Components
|
||||
|
||||
- **Prisma ORM** - Type-safe database queries
|
||||
- **React + TypeScript** - Modern UI framework
|
||||
- **Vite** - Fast build tool
|
||||
- **Tailwind CSS** - Utility-first CSS framework
|
||||
- **Lua (Fengari)** - Embedded scripting
|
||||
|
||||
For detailed architecture information, see [Architecture Documentation](./docs/architecture/).
|
||||
|
||||
## 📚 Documentation
|
||||
|
||||
### Getting Started
|
||||
|
||||
- [Getting Started Guide](./docs/guides/getting-started.md) - Setup and first steps
|
||||
- [5-Level Permission System](./docs/architecture/5-level-system.md) - Understanding permissions
|
||||
|
||||
### Development Guides
|
||||
|
||||
- [API Development](./docs/guides/api-development.md) - Creating API routes
|
||||
- [Package System](./docs/architecture/packages.md) - Building packages
|
||||
- [Database Guide](./docs/architecture/database.md) - Working with Prisma
|
||||
|
||||
### Reference
|
||||
|
||||
- [Project Requirements (PRD)](./docs/PRD.md)
|
||||
- [Security Guidelines](./docs/SECURITY.md)
|
||||
- [Code Documentation Index](./docs/CODE_DOCS_MAPPING.md)
|
||||
|
||||
### Full Documentation
|
||||
|
||||
See [docs/README.md](./docs/README.md) for the complete documentation index.
|
||||
|
||||
## 🔧 Development
|
||||
|
||||
### Available Scripts
|
||||
|
||||
```bash
|
||||
# Development & Building
|
||||
npm run dev # Start dev server
|
||||
npm run build # Production build
|
||||
npm run preview # Preview production build
|
||||
|
||||
# Testing
|
||||
npm run test # Run tests in watch mode
|
||||
npm run test:e2e # Run end-to-end tests
|
||||
npm run test:e2e:ui # Run e2e tests with UI
|
||||
npm run lint # Check code quality
|
||||
npm run lint:fix # Auto-fix linting issues
|
||||
|
||||
# Database
|
||||
npm run db:generate # Generate Prisma client
|
||||
npm run db:push # Apply schema changes
|
||||
npm run db:studio # Open database UI
|
||||
|
||||
# Other
|
||||
npm run act # Run GitHub Actions locally
|
||||
```
|
||||
|
||||
### Code Quality
|
||||
|
||||
```bash
|
||||
# Run linter
|
||||
npm run lint
|
||||
|
||||
# Fix linting issues
|
||||
npm run lint:fix
|
||||
|
||||
# Run all tests
|
||||
npm run test:e2e
|
||||
```
|
||||
|
||||
## 📁 Project Structure
|
||||
|
||||
```
|
||||
metabuilder/
|
||||
├── src/ # React application source
|
||||
│ ├── app/ # App layout and pages
|
||||
│ ├── components/ # React components
|
||||
│ ├── lib/ # Utility libraries
|
||||
│ ├── hooks/ # Custom React hooks
|
||||
│ ├── types/ # TypeScript type definitions
|
||||
│ └── seed-data/ # Database initialization data
|
||||
├── prisma/ # Database schema & migrations
|
||||
│ └── schema.prisma # Prisma schema
|
||||
├── packages/ # Modular feature packages
|
||||
│ ├── admin_dialog/
|
||||
│ ├── dashboard/
|
||||
│ ├── data_table/
|
||||
│ ├── form_builder/
|
||||
│ └── ...
|
||||
├── docs/ # Documentation
|
||||
│ ├── architecture/ # Architecture guides
|
||||
│ ├── guides/ # Development guides
|
||||
│ └── ...
|
||||
├── e2e/ # End-to-end tests
|
||||
├── scripts/ # Utility scripts
|
||||
│ └── doc-quality-checker.sh # Documentation quality assessment
|
||||
├── deployment/ # Deployment configurations
|
||||
├── vite.config.ts # Vite configuration
|
||||
├── tsconfig.json # TypeScript configuration
|
||||
├── middleware.ts # Next.js middleware
|
||||
└── package.json # Dependencies & scripts
|
||||
```
|
||||
|
||||
### Directory Guide
|
||||
|
||||
- **src/** - See [src/README.md](./src/README.md)
|
||||
- **packages/** - See [packages/README.md](./packages/README.md)
|
||||
- **docs/** - See [docs/README.md](./docs/README.md)
|
||||
- **prisma/** - Database schema and migrations
|
||||
- **e2e/** - Playwright end-to-end tests
|
||||
- **scripts/** - Utility scripts including documentation quality checker
|
||||
|
||||
## 🔐 Security
|
||||
|
||||
- All credentials stored as SHA-512 hashes
|
||||
- 5-level permission system for granular access control
|
||||
- Sandboxed Lua script execution
|
||||
- Type-safe database queries with Prisma
|
||||
- Security documentation: [SECURITY.md](./docs/SECURITY.md)
|
||||
|
||||
## 📦 Deployment
|
||||
|
||||
### Docker
|
||||
|
||||
```bash
|
||||
# Development
|
||||
docker-compose -f deployment/docker-compose.development.yml up
|
||||
|
||||
# Production
|
||||
docker-compose -f deployment/docker-compose.production.yml up
|
||||
```
|
||||
|
||||
### Manual Deployment
|
||||
|
||||
See [deployment/README.md](./deployment/README.md) for detailed instructions.
|
||||
|
||||
## 🤝 Contributing
|
||||
|
||||
1. Check [documentation guidelines](./docs/guides/api-development.md)
|
||||
2. Follow code conventions in [Copilot instructions](./.github/copilot-instructions.md)
|
||||
3. Run linter: `npm run lint:fix`
|
||||
4. Run tests: `npm run test:e2e`
|
||||
5. Update documentation as needed
|
||||
|
||||
## 📊 Documentation Quality
|
||||
|
||||
This project maintains high documentation standards:
|
||||
|
||||
```bash
|
||||
# Check documentation quality
|
||||
./scripts/doc-quality-checker.sh /workspaces/metabuilder
|
||||
```
|
||||
|
||||
Current metrics:
|
||||
- README Coverage: 60%+
|
||||
- JSDoc Coverage: 100%
|
||||
- Type Annotations: 80%+
|
||||
- Security Docs: 100%
|
||||
|
||||
## 📄 License
|
||||
|
||||
See [LICENSE](./LICENSE) file.
|
||||
|
||||
## 📞 Support
|
||||
|
||||
For questions or issues:
|
||||
|
||||
1. Check the [documentation](./docs/)
|
||||
2. Review [example code](./src/components/examples/)
|
||||
3. Check [existing tests](./e2e/) for patterns
|
||||
4. Review [SECURITY.md](./docs/SECURITY.md) for security questions
|
||||
|
||||
## Quick Links
|
||||
|
||||
- **Permission Model**: [5-Level System](./docs/architecture/5-level-system.md)
|
||||
- **Database Schema**: [Prisma Schema](./prisma/schema.prisma)
|
||||
- **API Patterns**: [API Development Guide](./docs/guides/api-development.md)
|
||||
- **Security**: [Security Guidelines](./docs/SECURITY.md)
|
||||
- **Packages**: [Package System](./docs/architecture/packages.md)
|
||||
147
UI_STANDARDS.md
Normal file
147
UI_STANDARDS.md
Normal file
@@ -0,0 +1,147 @@
|
||||
# MetaBuilder UI Standards
|
||||
|
||||
## ⚠️ CRITICAL: Prohibited Dependencies
|
||||
|
||||
**DO NOT use these libraries in this project:**
|
||||
|
||||
- ❌ **Radix UI** (`@radix-ui/*`) - Removed in favor of Material-UI
|
||||
- ❌ **Tailwind CSS** - Removed in favor of SASS + MUI styling
|
||||
- ❌ **Any Radix UI primitives** - Use Material-UI equivalents instead
|
||||
|
||||
**DO use:**
|
||||
|
||||
- ✅ **Material-UI** (`@mui/material`, `@mui/icons-material`, `@mui/x-data-grid`)
|
||||
- ✅ **SASS/SCSS** for custom styling (module pattern preferred)
|
||||
- ✅ **MUI's `sx` prop** for inline styles with theme access
|
||||
- ✅ **MUI's theme system** for consistent design tokens
|
||||
|
||||
## Why This Change?
|
||||
|
||||
1. **Consistency**: Single UI library reduces complexity
|
||||
2. **Feature-Rich**: MUI provides comprehensive components out of the box
|
||||
3. **Better Theming**: Integrated theme system with light/dark mode
|
||||
4. **Data Components**: MUI X components for advanced data tables and pickers
|
||||
5. **Enterprise-Ready**: Better accessibility and documentation
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Installing Dependencies
|
||||
|
||||
```bash
|
||||
cd frontends/nextjs
|
||||
npm install
|
||||
```
|
||||
|
||||
This will install:
|
||||
- `@mui/material` - Core UI components
|
||||
- `@mui/icons-material` - Icon library
|
||||
- `@mui/x-data-grid` - Advanced data tables
|
||||
- `@emotion/react` & `@emotion/styled` - Required peer dependencies
|
||||
- `sass` - For custom SCSS styling
|
||||
|
||||
### Using MUI Components
|
||||
|
||||
```tsx
|
||||
import { Button, TextField, Dialog } from '@mui/material'
|
||||
import { Add as AddIcon } from '@mui/icons-material'
|
||||
|
||||
function MyComponent() {
|
||||
return (
|
||||
<Button
|
||||
variant="contained"
|
||||
color="primary"
|
||||
startIcon={<AddIcon />}
|
||||
>
|
||||
Click Me
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### Custom Styling with SASS
|
||||
|
||||
```scss
|
||||
// MyComponent.module.scss
|
||||
.container {
|
||||
padding: 16px;
|
||||
background: var(--mui-palette-background-paper);
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```tsx
|
||||
import styles from './MyComponent.module.scss'
|
||||
import { Card } from '@mui/material'
|
||||
|
||||
export function MyComponent() {
|
||||
return (
|
||||
<Card className={styles.container}>
|
||||
<div className={styles.header}>
|
||||
{/* content */}
|
||||
</div>
|
||||
</Card>
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
### Using the `sx` Prop
|
||||
|
||||
```tsx
|
||||
import { Box, Typography } from '@mui/material'
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
gap: 2,
|
||||
p: 3,
|
||||
bgcolor: 'background.paper',
|
||||
borderRadius: 2,
|
||||
}}
|
||||
>
|
||||
<Typography variant="h6" color="primary.main">
|
||||
Title
|
||||
</Typography>
|
||||
</Box>
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
- **[UI Migration Guide](./docs/UI_MIGRATION.md)** - Complete migration reference
|
||||
- **[MUI Theme Configuration](./frontends/nextjs/src/theme/mui-theme.ts)** - Theme setup
|
||||
- **[Material-UI Docs](https://mui.com/)** - Official MUI documentation
|
||||
|
||||
## For AI Assistants & Code Generators
|
||||
|
||||
When working on this codebase:
|
||||
|
||||
1. **Never import from `@radix-ui/*`** - Use `@mui/material` instead
|
||||
2. **Never use Tailwind utility classes** in `className` props - Use MUI's `sx` prop or SCSS modules
|
||||
3. **Always use MUI components** for UI elements (Button, Dialog, TextField, etc.)
|
||||
4. **Use `@mui/icons-material`** for icons, not lucide-react or heroicons
|
||||
5. **Create `.module.scss` files** for component-specific custom styles
|
||||
6. **Access theme values** via `sx` prop or SASS variables
|
||||
|
||||
## Component Alternatives
|
||||
|
||||
| ❌ Don't Use | ✅ Use Instead |
|
||||
|-------------|---------------|
|
||||
| Radix UI Dialog | MUI Dialog |
|
||||
| Radix UI Select | MUI Select |
|
||||
| Radix UI Checkbox | MUI Checkbox |
|
||||
| Radix UI Switch | MUI Switch |
|
||||
| Tailwind classes | MUI sx prop or SCSS |
|
||||
| lucide-react icons | @mui/icons-material |
|
||||
|
||||
## Need Help?
|
||||
|
||||
See [docs/UI_MIGRATION.md](./docs/UI_MIGRATION.md) for:
|
||||
- Component mapping reference
|
||||
- Code examples
|
||||
- Common patterns
|
||||
- Migration checklist
|
||||
@@ -1 +0,0 @@
|
||||
.
|
||||
@@ -1,32 +0,0 @@
|
||||
'use client'
|
||||
|
||||
import { ThemeProvider } from 'next-themes'
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
|
||||
import { useState } from 'react'
|
||||
|
||||
export function Providers({ children }: { children: React.ReactNode }) {
|
||||
const [queryClient] = useState(
|
||||
() =>
|
||||
new QueryClient({
|
||||
defaultOptions: {
|
||||
queries: {
|
||||
staleTime: 60 * 1000, // 1 minute
|
||||
retry: 1,
|
||||
},
|
||||
},
|
||||
})
|
||||
)
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<QueryClientProvider client={queryClient}>
|
||||
{children}
|
||||
</QueryClientProvider>
|
||||
</ThemeProvider>
|
||||
)
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,264 +0,0 @@
|
||||
{
|
||||
"inputs" :
|
||||
[
|
||||
{
|
||||
"path" : "CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "/workspaces/metabuilder/build/CMakeFiles/3.28.3/CMakeSystem.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Platform/Linux-Initialize.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "/workspaces/metabuilder/build/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeGenericSystem.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeInitializeConfigs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Platform/Linux.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Platform/UnixPaths.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeCXXInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Compiler/Clang-CXX.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Compiler/Clang.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Platform/Linux-Clang-CXX.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Platform/Linux-GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindThreads.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CheckLibraryExists.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CheckIncludeFileCXX.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CheckCXXSourceCompiles.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/Internal/CheckSourceCompiles.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageMessage.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/fmt/fmt-config-version.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/fmt/fmt-config.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/fmt/fmt-targets.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/fmt/fmt-targets-release.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/spdlog/spdlogConfigVersion.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/spdlog/spdlogConfig.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindThreads.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CheckLibraryExists.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CheckIncludeFileCXX.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CheckCXXSourceCompiles.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageMessage.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/fmt/fmt-config-version.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/fmt/fmt-config.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/spdlog/spdlogConfigTargets.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/lib/cmake/spdlog/spdlogConfigTargets-release.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageMessage.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "/opt/conda/share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindSQLite3.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "/usr/share/cmake-3.28/Modules/FindPackageMessage.cmake"
|
||||
}
|
||||
],
|
||||
"kind" : "cmakeFiles",
|
||||
"paths" :
|
||||
{
|
||||
"build" : "/workspaces/metabuilder/build",
|
||||
"source" : "/workspaces/metabuilder/dbal/cpp"
|
||||
},
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
}
|
||||
@@ -1,124 +0,0 @@
|
||||
{
|
||||
"configurations" :
|
||||
[
|
||||
{
|
||||
"directories" :
|
||||
[
|
||||
{
|
||||
"build" : ".",
|
||||
"hasInstallRule" : true,
|
||||
"jsonFile" : "directory-.-Debug-9a15a6b5c285476c80d1.json",
|
||||
"minimumCMakeVersion" :
|
||||
{
|
||||
"string" : "3.20"
|
||||
},
|
||||
"projectIndex" : 0,
|
||||
"source" : ".",
|
||||
"targetIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7
|
||||
]
|
||||
}
|
||||
],
|
||||
"name" : "Debug",
|
||||
"projects" :
|
||||
[
|
||||
{
|
||||
"directoryIndexes" :
|
||||
[
|
||||
0
|
||||
],
|
||||
"name" : "dbal",
|
||||
"targetIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7
|
||||
]
|
||||
}
|
||||
],
|
||||
"targets" :
|
||||
[
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "client_test::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-client_test-Debug-6a93be4c78e4f543304f.json",
|
||||
"name" : "client_test",
|
||||
"projectIndex" : 0
|
||||
},
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "conformance_tests::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-conformance_tests-Debug-c5f56c7ac01e53132c36.json",
|
||||
"name" : "conformance_tests",
|
||||
"projectIndex" : 0
|
||||
},
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "dbal_adapters::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-dbal_adapters-Debug-29b4e3eb9f416daef346.json",
|
||||
"name" : "dbal_adapters",
|
||||
"projectIndex" : 0
|
||||
},
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "dbal_core::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-dbal_core-Debug-6b1b351446b3b6e3a5fe.json",
|
||||
"name" : "dbal_core",
|
||||
"projectIndex" : 0
|
||||
},
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "dbal_daemon::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-dbal_daemon-Debug-a52f7fb0998511559414.json",
|
||||
"name" : "dbal_daemon",
|
||||
"projectIndex" : 0
|
||||
},
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "http_server_security_test::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-http_server_security_test-Debug-b2c5a83eda9950df6b17.json",
|
||||
"name" : "http_server_security_test",
|
||||
"projectIndex" : 0
|
||||
},
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "integration_tests::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-integration_tests-Debug-20c3c66845f46bc4bcb6.json",
|
||||
"name" : "integration_tests",
|
||||
"projectIndex" : 0
|
||||
},
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "query_test::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-query_test-Debug-96124f6243db19ea1034.json",
|
||||
"name" : "query_test",
|
||||
"projectIndex" : 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"kind" : "codemodel",
|
||||
"paths" :
|
||||
{
|
||||
"build" : "/workspaces/metabuilder/build",
|
||||
"source" : "/workspaces/metabuilder/dbal/cpp"
|
||||
},
|
||||
"version" :
|
||||
{
|
||||
"major" : 2,
|
||||
"minor" : 6
|
||||
}
|
||||
}
|
||||
@@ -1,72 +0,0 @@
|
||||
{
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"install"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 88,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 89,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"installers" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"component" : "Unspecified",
|
||||
"destination" : "bin",
|
||||
"paths" :
|
||||
[
|
||||
"dbal_daemon"
|
||||
],
|
||||
"targetId" : "dbal_daemon::@6890427a1f51a3e7e1df",
|
||||
"targetIndex" : 4,
|
||||
"type" : "target"
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"component" : "Unspecified",
|
||||
"cxxModuleBmiTarget" :
|
||||
{
|
||||
"id" : "dbal_daemon::@6890427a1f51a3e7e1df",
|
||||
"index" : 4
|
||||
},
|
||||
"destination" : "bin",
|
||||
"type" : "cxxModuleBmi"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"component" : "Unspecified",
|
||||
"destination" : "include",
|
||||
"paths" :
|
||||
[
|
||||
"include/dbal"
|
||||
],
|
||||
"type" : "directory"
|
||||
}
|
||||
],
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
}
|
||||
}
|
||||
@@ -1,132 +0,0 @@
|
||||
{
|
||||
"cmake" :
|
||||
{
|
||||
"generator" :
|
||||
{
|
||||
"multiConfig" : false,
|
||||
"name" : "Unix Makefiles"
|
||||
},
|
||||
"paths" :
|
||||
{
|
||||
"cmake" : "/usr/bin/cmake",
|
||||
"cpack" : "/usr/bin/cpack",
|
||||
"ctest" : "/usr/bin/ctest",
|
||||
"root" : "/usr/share/cmake-3.28"
|
||||
},
|
||||
"version" :
|
||||
{
|
||||
"isDirty" : false,
|
||||
"major" : 3,
|
||||
"minor" : 28,
|
||||
"patch" : 3,
|
||||
"string" : "3.28.3",
|
||||
"suffix" : ""
|
||||
}
|
||||
},
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"jsonFile" : "codemodel-v2-7a576b65ca11d2e99b38.json",
|
||||
"kind" : "codemodel",
|
||||
"version" :
|
||||
{
|
||||
"major" : 2,
|
||||
"minor" : 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cache-v2-6c6cea8ee2a9447673b0.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
"major" : 2,
|
||||
"minor" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-0c90ebd7cd6cc5f4f010.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "toolchains-v1-6767984ce423b089010b.json",
|
||||
"kind" : "toolchains",
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"reply" :
|
||||
{
|
||||
"client-vscode" :
|
||||
{
|
||||
"query.json" :
|
||||
{
|
||||
"requests" :
|
||||
[
|
||||
{
|
||||
"kind" : "cache",
|
||||
"version" : 2
|
||||
},
|
||||
{
|
||||
"kind" : "codemodel",
|
||||
"version" : 2
|
||||
},
|
||||
{
|
||||
"kind" : "toolchains",
|
||||
"version" : 1
|
||||
},
|
||||
{
|
||||
"kind" : "cmakeFiles",
|
||||
"version" : 1
|
||||
}
|
||||
],
|
||||
"responses" :
|
||||
[
|
||||
{
|
||||
"jsonFile" : "cache-v2-6c6cea8ee2a9447673b0.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
"major" : 2,
|
||||
"minor" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "codemodel-v2-7a576b65ca11d2e99b38.json",
|
||||
"kind" : "codemodel",
|
||||
"version" :
|
||||
{
|
||||
"major" : 2,
|
||||
"minor" : 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "toolchains-v1-6767984ce423b089010b.json",
|
||||
"kind" : "toolchains",
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-0c90ebd7cd6cc5f4f010.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,191 +0,0 @@
|
||||
{
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "client_test"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_executable",
|
||||
"target_link_libraries",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 57,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 77,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 52,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 48,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"defines" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "FMT_SHARED"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_COMPILED_LIB"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_FMT_EXTERNAL"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_SHARED_LIB"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 5,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"isSystem" : true,
|
||||
"path" : "/opt/conda/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
2
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_core::@6890427a1f51a3e7e1df"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_adapters::@6890427a1f51a3e7e1df"
|
||||
}
|
||||
],
|
||||
"id" : "client_test::@6890427a1f51a3e7e1df",
|
||||
"link" :
|
||||
{
|
||||
"commandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "-Wl,-rpath,/opt/conda/lib",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_core.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_adapters.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"fragment" : "/opt/conda/lib/libspdlog.so.1.11.0",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 4,
|
||||
"fragment" : "/opt/conda/lib/libfmt.so.9.1.0",
|
||||
"role" : "libraries"
|
||||
}
|
||||
],
|
||||
"language" : "CXX"
|
||||
},
|
||||
"name" : "client_test",
|
||||
"nameOnDisk" : "client_test",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "tests/unit/client_test.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "EXECUTABLE"
|
||||
}
|
||||
@@ -1,191 +0,0 @@
|
||||
{
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "conformance_tests"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_executable",
|
||||
"target_link_libraries",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 69,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 80,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 52,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 48,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"defines" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "FMT_SHARED"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_COMPILED_LIB"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_FMT_EXTERNAL"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_SHARED_LIB"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 5,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"isSystem" : true,
|
||||
"path" : "/opt/conda/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
2
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_core::@6890427a1f51a3e7e1df"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_adapters::@6890427a1f51a3e7e1df"
|
||||
}
|
||||
],
|
||||
"id" : "conformance_tests::@6890427a1f51a3e7e1df",
|
||||
"link" :
|
||||
{
|
||||
"commandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "-Wl,-rpath,/opt/conda/lib",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_core.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_adapters.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"fragment" : "/opt/conda/lib/libspdlog.so.1.11.0",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 4,
|
||||
"fragment" : "/opt/conda/lib/libfmt.so.9.1.0",
|
||||
"role" : "libraries"
|
||||
}
|
||||
],
|
||||
"language" : "CXX"
|
||||
},
|
||||
"name" : "conformance_tests",
|
||||
"nameOnDisk" : "conformance_tests",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "tests/conformance/runner.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "EXECUTABLE"
|
||||
}
|
||||
@@ -1,107 +0,0 @@
|
||||
{
|
||||
"archive" : {},
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "libdbal_adapters.a"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_library",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 29,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
1
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
],
|
||||
"id" : "dbal_adapters::@6890427a1f51a3e7e1df",
|
||||
"name" : "dbal_adapters",
|
||||
"nameOnDisk" : "libdbal_adapters.a",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/adapters/sqlite/sqlite_adapter.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/adapters/sqlite/sqlite_pool.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "STATIC_LIBRARY"
|
||||
}
|
||||
@@ -1,192 +0,0 @@
|
||||
{
|
||||
"archive" : {},
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "libdbal_core.a"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_library",
|
||||
"target_link_libraries",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 18,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 48,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 52,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"defines" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "FMT_SHARED"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"define" : "SPDLOG_COMPILED_LIB"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"define" : "SPDLOG_FMT_EXTERNAL"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"define" : "SPDLOG_SHARED_LIB"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 4,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"isSystem" : true,
|
||||
"path" : "/opt/conda/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
2
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7
|
||||
]
|
||||
}
|
||||
],
|
||||
"id" : "dbal_core::@6890427a1f51a3e7e1df",
|
||||
"name" : "dbal_core",
|
||||
"nameOnDisk" : "libdbal_core.a",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/client.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/errors.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/capabilities.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/query/ast.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/query/builder.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/query/normalize.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/util/uuid.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/util/backoff.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "STATIC_LIBRARY"
|
||||
}
|
||||
@@ -1,228 +0,0 @@
|
||||
{
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "dbal_daemon"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_executable",
|
||||
"install",
|
||||
"target_link_libraries",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 34,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 88,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 40,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 52,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 48,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 3,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"defines" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"define" : "FMT_SHARED"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"define" : "SPDLOG_COMPILED_LIB"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"define" : "SPDLOG_FMT_EXTERNAL"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"define" : "SPDLOG_SHARED_LIB"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 6,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"isSystem" : true,
|
||||
"path" : "/opt/conda/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
3
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"id" : "dbal_core::@6890427a1f51a3e7e1df"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"id" : "dbal_adapters::@6890427a1f51a3e7e1df"
|
||||
}
|
||||
],
|
||||
"id" : "dbal_daemon::@6890427a1f51a3e7e1df",
|
||||
"install" :
|
||||
{
|
||||
"destinations" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"path" : "bin"
|
||||
}
|
||||
],
|
||||
"prefix" :
|
||||
{
|
||||
"path" : "/usr/local"
|
||||
}
|
||||
},
|
||||
"link" :
|
||||
{
|
||||
"commandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "-Wl,-rpath,/opt/conda/lib:",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"fragment" : "libdbal_core.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"fragment" : "libdbal_adapters.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 4,
|
||||
"fragment" : "/opt/conda/lib/libspdlog.so.1.11.0",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 5,
|
||||
"fragment" : "/opt/conda/lib/libfmt.so.9.1.0",
|
||||
"role" : "libraries"
|
||||
}
|
||||
],
|
||||
"language" : "CXX"
|
||||
},
|
||||
"name" : "dbal_daemon",
|
||||
"nameOnDisk" : "dbal_daemon",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/daemon/main.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/daemon/server.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "src/daemon/security.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "EXECUTABLE"
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
{
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "http_server_security_test"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_executable",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 73,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
1
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"id" : "http_server_security_test::@6890427a1f51a3e7e1df",
|
||||
"link" :
|
||||
{
|
||||
"commandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "",
|
||||
"role" : "flags"
|
||||
}
|
||||
],
|
||||
"language" : "CXX"
|
||||
},
|
||||
"name" : "http_server_security_test",
|
||||
"nameOnDisk" : "http_server_security_test",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "tests/security/http_server_security_test.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "EXECUTABLE"
|
||||
}
|
||||
@@ -1,191 +0,0 @@
|
||||
{
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "integration_tests"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_executable",
|
||||
"target_link_libraries",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 65,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 79,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 52,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 48,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"defines" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "FMT_SHARED"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_COMPILED_LIB"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_FMT_EXTERNAL"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_SHARED_LIB"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 5,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"isSystem" : true,
|
||||
"path" : "/opt/conda/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
2
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_core::@6890427a1f51a3e7e1df"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_adapters::@6890427a1f51a3e7e1df"
|
||||
}
|
||||
],
|
||||
"id" : "integration_tests::@6890427a1f51a3e7e1df",
|
||||
"link" :
|
||||
{
|
||||
"commandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "-Wl,-rpath,/opt/conda/lib",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_core.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_adapters.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"fragment" : "/opt/conda/lib/libspdlog.so.1.11.0",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 4,
|
||||
"fragment" : "/opt/conda/lib/libfmt.so.9.1.0",
|
||||
"role" : "libraries"
|
||||
}
|
||||
],
|
||||
"language" : "CXX"
|
||||
},
|
||||
"name" : "integration_tests",
|
||||
"nameOnDisk" : "integration_tests",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "tests/integration/sqlite_test.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "EXECUTABLE"
|
||||
}
|
||||
@@ -1,191 +0,0 @@
|
||||
{
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "query_test"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_executable",
|
||||
"target_link_libraries",
|
||||
"include_directories"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 61,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 78,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 52,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 1,
|
||||
"file" : 0,
|
||||
"line" : 48,
|
||||
"parent" : 0
|
||||
},
|
||||
{
|
||||
"command" : 2,
|
||||
"file" : 0,
|
||||
"line" : 10,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g -std=gnu++17"
|
||||
}
|
||||
],
|
||||
"defines" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "FMT_SHARED"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_COMPILED_LIB"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_FMT_EXTERNAL"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"define" : "SPDLOG_SHARED_LIB"
|
||||
}
|
||||
],
|
||||
"includes" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 5,
|
||||
"path" : "/workspaces/metabuilder/dbal/cpp/include"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"isSystem" : true,
|
||||
"path" : "/opt/conda/include"
|
||||
}
|
||||
],
|
||||
"language" : "CXX",
|
||||
"languageStandard" :
|
||||
{
|
||||
"backtraces" :
|
||||
[
|
||||
2
|
||||
],
|
||||
"standard" : "17"
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"dependencies" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_core::@6890427a1f51a3e7e1df"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"id" : "dbal_adapters::@6890427a1f51a3e7e1df"
|
||||
}
|
||||
],
|
||||
"id" : "query_test::@6890427a1f51a3e7e1df",
|
||||
"link" :
|
||||
{
|
||||
"commandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "-Wl,-rpath,/opt/conda/lib",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_core.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 2,
|
||||
"fragment" : "libdbal_adapters.a",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 3,
|
||||
"fragment" : "/opt/conda/lib/libspdlog.so.1.11.0",
|
||||
"role" : "libraries"
|
||||
},
|
||||
{
|
||||
"backtrace" : 4,
|
||||
"fragment" : "/opt/conda/lib/libfmt.so.9.1.0",
|
||||
"role" : "libraries"
|
||||
}
|
||||
],
|
||||
"language" : "CXX"
|
||||
},
|
||||
"name" : "query_test",
|
||||
"nameOnDisk" : "query_test",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "tests/unit/query_test.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "EXECUTABLE"
|
||||
}
|
||||
@@ -1,72 +0,0 @@
|
||||
{
|
||||
"kind" : "toolchains",
|
||||
"toolchains" :
|
||||
[
|
||||
{
|
||||
"compiler" :
|
||||
{
|
||||
"id" : "Clang",
|
||||
"implicit" :
|
||||
{
|
||||
"includeDirectories" :
|
||||
[
|
||||
"/usr/include/c++/13",
|
||||
"/usr/include/x86_64-linux-gnu/c++/13",
|
||||
"/usr/include/c++/13/backward",
|
||||
"/usr/lib/llvm-18/lib/clang/18/include",
|
||||
"/usr/local/include",
|
||||
"/usr/include/x86_64-linux-gnu",
|
||||
"/usr/include"
|
||||
],
|
||||
"linkDirectories" :
|
||||
[
|
||||
"/usr/lib/gcc/x86_64-linux-gnu/13",
|
||||
"/usr/lib64",
|
||||
"/lib/x86_64-linux-gnu",
|
||||
"/lib64",
|
||||
"/usr/lib/x86_64-linux-gnu",
|
||||
"/lib",
|
||||
"/usr/lib"
|
||||
],
|
||||
"linkFrameworkDirectories" : [],
|
||||
"linkLibraries" :
|
||||
[
|
||||
"stdc++",
|
||||
"m",
|
||||
"gcc_s",
|
||||
"gcc",
|
||||
"c",
|
||||
"gcc_s",
|
||||
"gcc"
|
||||
]
|
||||
},
|
||||
"path" : "/usr/bin/clang++",
|
||||
"version" : "18.1.3"
|
||||
},
|
||||
"language" : "CXX",
|
||||
"sourceFileExtensions" :
|
||||
[
|
||||
"C",
|
||||
"M",
|
||||
"c++",
|
||||
"cc",
|
||||
"cpp",
|
||||
"cxx",
|
||||
"m",
|
||||
"mm",
|
||||
"mpp",
|
||||
"CPP",
|
||||
"ixx",
|
||||
"cppm",
|
||||
"ccm",
|
||||
"cxxm",
|
||||
"c++m"
|
||||
]
|
||||
}
|
||||
],
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
}
|
||||
@@ -1,378 +0,0 @@
|
||||
# This is the CMakeCache file.
|
||||
# For build in directory: /workspaces/metabuilder/build
|
||||
# It was generated by CMake: /usr/bin/cmake
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||
# The syntax for the file is as follows:
|
||||
# KEY:TYPE=VALUE
|
||||
# KEY is the name of a variable in the cache.
|
||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||
# VALUE is the current value for the KEY.
|
||||
|
||||
########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/llvm-addr2line
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_AR:FILEPATH=/usr/bin/llvm-ar
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_BUILD_TYPE:STRING=Debug
|
||||
|
||||
//Enable/Disable color output during build.
|
||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++
|
||||
|
||||
//LLVM archiver
|
||||
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/llvm-ar-18
|
||||
|
||||
//`clang-scan-deps` dependency scanner
|
||||
CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS:FILEPATH=CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND
|
||||
|
||||
//Generate index for LLVM archive
|
||||
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/llvm-ranlib-18
|
||||
|
||||
//Flags used by the CXX compiler during all build types.
|
||||
CMAKE_CXX_FLAGS:STRING=
|
||||
|
||||
//Flags used by the CXX compiler during DEBUG builds.
|
||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the CXX compiler during MINSIZEREL builds.
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELEASE builds.
|
||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_DLLTOOL:FILEPATH=/usr/bin/llvm-dlltool
|
||||
|
||||
//Flags used by the linker during all build types.
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during DEBUG builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during MINSIZEREL builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during RELEASE builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE
|
||||
|
||||
//Value Computed by CMake.
|
||||
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/workspaces/metabuilder/build/CMakeFiles/pkgRedirects
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// all build types.
|
||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// DEBUG builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// MINSIZEREL builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELEASE builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELWITHDEBINFO builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_NM:FILEPATH=/usr/bin/llvm-nm
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/llvm-objcopy
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/llvm-objdump
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_NAME:STATIC=dbal
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION:STATIC=1.0.0
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_MAJOR:STATIC=1
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_MINOR:STATIC=0
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_PATCH:STATIC=0
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_RANLIB:FILEPATH=/usr/bin/llvm-ranlib
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_READELF:FILEPATH=/usr/bin/llvm-readelf
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during all build types.
|
||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//If set, runtime paths are not added when installing shared libraries,
|
||||
// but are added when building.
|
||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||
|
||||
//If set, runtime paths are not added when using shared libraries.
|
||||
CMAKE_SKIP_RPATH:BOOL=NO
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during all build types.
|
||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_STRIP:FILEPATH=/usr/bin/llvm-strip
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
|
||||
|
||||
//If this value is on, makefiles will be generated without the
|
||||
// .SILENT directive, and all commands will be echoed to the console
|
||||
// during the make. This is useful for debugging only. With Visual
|
||||
// Studio IDE projects all commands are done without /nologo.
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Path to a file.
|
||||
SQLite3_INCLUDE_DIR:PATH=/usr/include
|
||||
|
||||
//Path to a library.
|
||||
SQLite3_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libsqlite3.so
|
||||
|
||||
//Value Computed by CMake
|
||||
dbal_BINARY_DIR:STATIC=/workspaces/metabuilder/build
|
||||
|
||||
//Value Computed by CMake
|
||||
dbal_IS_TOP_LEVEL:STATIC=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
dbal_SOURCE_DIR:STATIC=/workspaces/metabuilder/dbal/cpp
|
||||
|
||||
//The directory containing a CMake configuration file for fmt.
|
||||
fmt_DIR:PATH=/opt/conda/lib/cmake/fmt
|
||||
|
||||
//The directory containing a CMake configuration file for nlohmann_json.
|
||||
nlohmann_json_DIR:PATH=/opt/conda/share/cmake/nlohmann_json
|
||||
|
||||
//The directory containing a CMake configuration file for spdlog.
|
||||
spdlog_DIR:PATH=/opt/conda/lib/cmake/spdlog
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/workspaces/metabuilder/build
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=28
|
||||
//Patch version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
|
||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Path to CMake executable.
|
||||
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||
//Path to cpack program executable.
|
||||
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||
//Path to ctest program executable.
|
||||
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
||||
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
||||
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS
|
||||
CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
||||
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||
//Executable file format
|
||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//Name of external makefile project generator.
|
||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||
//Name of generator.
|
||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||
//Generator instance identifier.
|
||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||
//Name of generator platform.
|
||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
//Name of generator toolset.
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||
//Test CMAKE_HAVE_LIBC_PTHREAD
|
||||
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/workspaces/metabuilder/dbal/cpp
|
||||
//Install .so files without execute permission.
|
||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||
//Platform information initialized
|
||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RANLIB
|
||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_READELF
|
||||
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||
//Path to CMake installation.
|
||||
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.28
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STRIP
|
||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_TAPI
|
||||
CMAKE_TAPI-ADVANCED:INTERNAL=1
|
||||
//uname command
|
||||
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Details about finding Threads
|
||||
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
|
||||
//ADVANCED property for variable: SQLite3_INCLUDE_DIR
|
||||
SQLite3_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: SQLite3_LIBRARY
|
||||
SQLite3_LIBRARY-ADVANCED:INTERNAL=1
|
||||
//linker supports push/pop state
|
||||
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
set(CMAKE_CXX_COMPILER "/usr/bin/clang++")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "Clang")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "18.1.3")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
|
||||
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
|
||||
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
|
||||
|
||||
set(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/llvm-ar")
|
||||
set(CMAKE_CXX_COMPILER_AR "/usr/bin/llvm-ar-18")
|
||||
set(CMAKE_RANLIB "/usr/bin/llvm-ranlib")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/llvm-ranlib-18")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX )
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
|
||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
|
||||
foreach (lang C OBJC OBJCXX)
|
||||
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
||||
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
||||
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED TRUE)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/llvm-18/lib/clang/18/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib/x86_64-linux-gnu;/lib;/usr/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
Binary file not shown.
@@ -1,15 +0,0 @@
|
||||
set(CMAKE_HOST_SYSTEM "Linux-6.8.0-1030-azure")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "6.8.0-1030-azure")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-6.8.0-1030-azure")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "6.8.0-1030-azure")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
||||
@@ -1,869 +0,0 @@
|
||||
/* This source file must have a .cpp extension so that all C++ compilers
|
||||
recognize the extension without flags. Borland does not know .cxx for
|
||||
example. */
|
||||
#ifndef __cplusplus
|
||||
# error "A C compiler has been selected for C++."
|
||||
#endif
|
||||
|
||||
#if !defined(__has_include)
|
||||
/* If the compiler does not have __has_include, pretend the answer is
|
||||
always no. */
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__COMO__)
|
||||
# define COMPILER_ID "Comeau"
|
||||
/* __COMO_VERSION__ = VRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
||||
|
||||
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||
except that a few beta releases use the old format with V=2021. */
|
||||
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||
/* The third version component from --version is an update index,
|
||||
but no macro is provided for it. */
|
||||
# define COMPILER_VERSION_PATCH DEC(0)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||
# define COMPILER_ID "IntelLLVM"
|
||||
#if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
#endif
|
||||
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||
* VVVV is no smaller than the current year when a version is released.
|
||||
*/
|
||||
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||
#else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
#elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
#endif
|
||||
#if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
#endif
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_CC)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_CC >= 0x5100
|
||||
/* __SUNPRO_CC = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_aCC)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_aCC = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||
|
||||
#elif defined(__DECCXX)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECCXX_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
||||
|
||||
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__open_xl__) && defined(__clang__)
|
||||
# define COMPILER_ID "IBMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__ibmxl__) && defined(__clang__)
|
||||
# define COMPILER_ID "XLClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__NVCOMPILER)
|
||||
# define COMPILER_ID "NVHPC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__clang__) && defined(__cray__)
|
||||
# define COMPILER_ID "CrayClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__CLANG_FUJITSU)
|
||||
# define COMPILER_ID "FujitsuClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(__FUJITSU)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
# if defined(__FCC_version__)
|
||||
# define COMPILER_VERSION __FCC_version__
|
||||
# elif defined(__FCC_major__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# endif
|
||||
# if defined(__fcc_version)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||
# elif defined(__FCC_VERSION)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# define COMPILER_ID "GHS"
|
||||
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||
# ifdef __GHS_VERSION_NUMBER
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__TASKING__)
|
||||
# define COMPILER_ID "Tasking"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||
|
||||
#elif defined(__ORANGEC__)
|
||||
# define COMPILER_ID "OrangeC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||
# define COMPILER_ID "ARMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||
# define COMPILER_ID "LCC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||
# if defined(__LCC_MINOR__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# if defined(__GNUC__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(_ADI_COMPILER)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VERSIONNUM__)
|
||||
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__) && defined(__ICCARM__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__MSYS__)
|
||||
# define PLATFORM_ID "MSYS"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# elif defined(__VXWORKS__)
|
||||
# define PLATFORM_ID "VxWorks"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#elif defined(__INTEGRITY)
|
||||
# if defined(INT_178B)
|
||||
# define PLATFORM_ID "Integrity178"
|
||||
|
||||
# else /* regular Integrity */
|
||||
# define PLATFORM_ID "Integrity"
|
||||
# endif
|
||||
|
||||
# elif defined(_ADI_COMPILER)
|
||||
# define PLATFORM_ID "ADSP"
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_ARM64EC)
|
||||
# define ARCHITECTURE_ID "ARM64EC"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCRX__)
|
||||
# define ARCHITECTURE_ID "RX"
|
||||
|
||||
# elif defined(__ICCRH850__)
|
||||
# define ARCHITECTURE_ID "RH850"
|
||||
|
||||
# elif defined(__ICCRL78__)
|
||||
# define ARCHITECTURE_ID "RL78"
|
||||
|
||||
# elif defined(__ICCRISCV__)
|
||||
# define ARCHITECTURE_ID "RISCV"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# elif defined(__ICC430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__ICCV850__)
|
||||
# define ARCHITECTURE_ID "V850"
|
||||
|
||||
# elif defined(__ICC8051__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__ICCSTM8__)
|
||||
# define ARCHITECTURE_ID "STM8"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# if defined(__PPC64__)
|
||||
# define ARCHITECTURE_ID "PPC64"
|
||||
|
||||
# elif defined(__ppc__)
|
||||
# define ARCHITECTURE_ID "PPC"
|
||||
|
||||
# elif defined(__ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__x86_64__)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(__i386__)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# if defined(__TI_ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__MSP430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__TMS320C28XX__)
|
||||
# define ARCHITECTURE_ID "TMS320C28x"
|
||||
|
||||
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||
# define ARCHITECTURE_ID "TMS320C6x"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
# elif defined(__ADSPSHARC__)
|
||||
# define ARCHITECTURE_ID "SHARC"
|
||||
|
||||
# elif defined(__ADSPBLACKFIN__)
|
||||
# define ARCHITECTURE_ID "Blackfin"
|
||||
|
||||
#elif defined(__TASKING__)
|
||||
|
||||
# if defined(__CTC__) || defined(__CPTC__)
|
||||
# define ARCHITECTURE_ID "TriCore"
|
||||
|
||||
# elif defined(__CMCS__)
|
||||
# define ARCHITECTURE_ID "MCS"
|
||||
|
||||
# elif defined(__CARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__CARC__)
|
||||
# define ARCHITECTURE_ID "ARC"
|
||||
|
||||
# elif defined(__C51__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__CPCP__)
|
||||
# define ARCHITECTURE_ID "PCP"
|
||||
|
||||
# else
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number. */
|
||||
#ifdef COMPILER_VERSION
|
||||
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#elif defined(COMPILER_VERSION_MAJOR)
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
|
||||
# if defined(__INTEL_CXX11_MODE__)
|
||||
# if defined(__cpp_aggregate_nsdmi)
|
||||
# define CXX_STD 201402L
|
||||
# else
|
||||
# define CXX_STD 201103L
|
||||
# endif
|
||||
# else
|
||||
# define CXX_STD 199711L
|
||||
# endif
|
||||
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
|
||||
# define CXX_STD _MSVC_LANG
|
||||
#else
|
||||
# define CXX_STD __cplusplus
|
||||
#endif
|
||||
|
||||
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
||||
#if CXX_STD > 202002L
|
||||
"23"
|
||||
#elif CXX_STD > 201703L
|
||||
"20"
|
||||
#elif CXX_STD >= 201703L
|
||||
"17"
|
||||
#elif CXX_STD >= 201402L
|
||||
"14"
|
||||
#elif CXX_STD >= 201103L
|
||||
"11"
|
||||
#else
|
||||
"98"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||
defined(__TI_COMPILER_VERSION__)) && \
|
||||
!defined(__STRICT_ANSI__)
|
||||
"ON"
|
||||
#else
|
||||
"OFF"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_standard_default[argc];
|
||||
require += info_language_extensions_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
Binary file not shown.
@@ -1,265 +0,0 @@
|
||||
|
||||
---
|
||||
events:
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:233 (message)"
|
||||
- "CMakeLists.txt:2 (project)"
|
||||
message: |
|
||||
The system is: Linux - 6.8.0-1030-azure - x86_64
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
||||
- "CMakeLists.txt:2 (project)"
|
||||
message: |
|
||||
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||
Compiler: /usr/bin/clang++
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||
|
||||
The CXX compiler identification is Clang, found in:
|
||||
/workspaces/metabuilder/build/CMakeFiles/3.28.3/CompilerIdCXX/a.out
|
||||
|
||||
-
|
||||
kind: "try_compile-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt:2 (project)"
|
||||
checks:
|
||||
- "Detecting CXX compiler ABI info"
|
||||
directories:
|
||||
source: "/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ"
|
||||
binary: "/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ"
|
||||
cmakeVariables:
|
||||
CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS: "CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND"
|
||||
CMAKE_CXX_FLAGS: ""
|
||||
CMAKE_CXX_FLAGS_DEBUG: "-g"
|
||||
CMAKE_EXE_LINKER_FLAGS: ""
|
||||
buildResult:
|
||||
variable: "CMAKE_CXX_ABI_COMPILED"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ'
|
||||
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_70e50/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_70e50.dir/build.make CMakeFiles/cmTC_70e50.dir/build
|
||||
gmake[1]: Entering directory '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ'
|
||||
Building CXX object CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/clang++ -v -MD -MT CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp
|
||||
Ubuntu clang version 18.1.3 (1ubuntu1)
|
||||
Target: x86_64-pc-linux-gnu
|
||||
Thread model: posix
|
||||
InstalledDir: /usr/bin
|
||||
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
|
||||
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
|
||||
Candidate multilib: .;@m64
|
||||
Selected multilib: .;@m64
|
||||
(in-process)
|
||||
"/usr/lib/llvm-18/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ -v -fcoverage-compilation-dir=/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ -resource-dir /usr/lib/llvm-18/lib/clang/18 -dependency-file CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward -internal-isystem /usr/lib/llvm-18/lib/clang/18/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp
|
||||
clang -cc1 version 18.1.3 based upon LLVM 18.1.3 default target x86_64-pc-linux-gnu
|
||||
ignoring nonexistent directory "/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"
|
||||
ignoring nonexistent directory "/include"
|
||||
#include "..." search starts here:
|
||||
#include <...> search starts here:
|
||||
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13
|
||||
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13
|
||||
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward
|
||||
/usr/lib/llvm-18/lib/clang/18/include
|
||||
/usr/local/include
|
||||
/usr/include/x86_64-linux-gnu
|
||||
/usr/include
|
||||
End of search list.
|
||||
Linking CXX executable cmTC_70e50
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_70e50.dir/link.txt --verbose=1
|
||||
/usr/bin/clang++ -v CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_70e50
|
||||
Ubuntu clang version 18.1.3 (1ubuntu1)
|
||||
Target: x86_64-pc-linux-gnu
|
||||
Thread model: posix
|
||||
InstalledDir: /usr/bin
|
||||
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
|
||||
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
|
||||
Candidate multilib: .;@m64
|
||||
Selected multilib: .;@m64
|
||||
"/usr/bin/ld" -z relro --hash-style=gnu --build-id --eh-frame-hdr -m elf_x86_64 -pie -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_70e50 /lib/x86_64-linux-gnu/Scrt1.o /lib/x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/13 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/lib -L/usr/lib CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtendS.o /lib/x86_64-linux-gnu/crtn.o
|
||||
gmake[1]: Leaving directory '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ'
|
||||
|
||||
exitCode: 0
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt:2 (project)"
|
||||
message: |
|
||||
Parsed CXX implicit include dir info: rv=done
|
||||
found start of include info
|
||||
found start of implicit include info
|
||||
add: [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13]
|
||||
add: [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13]
|
||||
add: [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward]
|
||||
add: [/usr/lib/llvm-18/lib/clang/18/include]
|
||||
add: [/usr/local/include]
|
||||
add: [/usr/include/x86_64-linux-gnu]
|
||||
add: [/usr/include]
|
||||
end of search list found
|
||||
collapse include dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13] ==> [/usr/include/c++/13]
|
||||
collapse include dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13] ==> [/usr/include/x86_64-linux-gnu/c++/13]
|
||||
collapse include dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward] ==> [/usr/include/c++/13/backward]
|
||||
collapse include dir [/usr/lib/llvm-18/lib/clang/18/include] ==> [/usr/lib/llvm-18/lib/clang/18/include]
|
||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
||||
collapse include dir [/usr/include] ==> [/usr/include]
|
||||
implicit include dirs: [/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/llvm-18/lib/clang/18/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
||||
|
||||
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:159 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt:2 (project)"
|
||||
message: |
|
||||
Parsed CXX implicit link information:
|
||||
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||
ignore line: [Change Dir: '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ']
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_70e50/fast]
|
||||
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_70e50.dir/build.make CMakeFiles/cmTC_70e50.dir/build]
|
||||
ignore line: [gmake[1]: Entering directory '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/clang++ -v -MD -MT CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Ubuntu clang version 18.1.3 (1ubuntu1)]
|
||||
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [InstalledDir: /usr/bin]
|
||||
ignore line: [Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13]
|
||||
ignore line: [Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13]
|
||||
ignore line: [Candidate multilib: .]
|
||||
ignore line: [@m64]
|
||||
ignore line: [Selected multilib: .]
|
||||
ignore line: [@m64]
|
||||
ignore line: [ (in-process)]
|
||||
ignore line: [ "/usr/lib/llvm-18/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ -v -fcoverage-compilation-dir=/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-P57tmZ -resource-dir /usr/lib/llvm-18/lib/clang/18 -dependency-file CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward -internal-isystem /usr/lib/llvm-18/lib/clang/18/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [clang -cc1 version 18.1.3 based upon LLVM 18.1.3 default target x86_64-pc-linux-gnu]
|
||||
ignore line: [ignoring nonexistent directory "/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"]
|
||||
ignore line: [ignoring nonexistent directory "/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
ignore line: [#include <...> search starts here:]
|
||||
ignore line: [ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13]
|
||||
ignore line: [ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13]
|
||||
ignore line: [ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward]
|
||||
ignore line: [ /usr/lib/llvm-18/lib/clang/18/include]
|
||||
ignore line: [ /usr/local/include]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [Linking CXX executable cmTC_70e50]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_70e50.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/clang++ -v CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_70e50 ]
|
||||
ignore line: [Ubuntu clang version 18.1.3 (1ubuntu1)]
|
||||
ignore line: [Target: x86_64-pc-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [InstalledDir: /usr/bin]
|
||||
ignore line: [Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13]
|
||||
ignore line: [Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13]
|
||||
ignore line: [Candidate multilib: .]
|
||||
ignore line: [@m64]
|
||||
ignore line: [Selected multilib: .]
|
||||
ignore line: [@m64]
|
||||
link line: [ "/usr/bin/ld" -z relro --hash-style=gnu --build-id --eh-frame-hdr -m elf_x86_64 -pie -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_70e50 /lib/x86_64-linux-gnu/Scrt1.o /lib/x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/13 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/lib -L/usr/lib CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtendS.o /lib/x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/bin/ld] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_70e50] ==> ignore
|
||||
arg [/lib/x86_64-linux-gnu/Scrt1.o] ==> obj [/lib/x86_64-linux-gnu/Scrt1.o]
|
||||
arg [/lib/x86_64-linux-gnu/crti.o] ==> obj [/lib/x86_64-linux-gnu/crti.o]
|
||||
arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> obj [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtbeginS.o]
|
||||
arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/13] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/13]
|
||||
arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../lib64] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../lib64]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
|
||||
arg [-L/lib] ==> dir [/lib]
|
||||
arg [-L/usr/lib] ==> dir [/usr/lib]
|
||||
arg [CMakeFiles/cmTC_70e50.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtendS.o] ==> obj [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtendS.o]
|
||||
arg [/lib/x86_64-linux-gnu/crtn.o] ==> obj [/lib/x86_64-linux-gnu/crtn.o]
|
||||
collapse obj [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o]
|
||||
collapse obj [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/crtendS.o] ==> [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o]
|
||||
collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/13] ==> [/usr/lib/gcc/x86_64-linux-gnu/13]
|
||||
collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../lib64] ==> [/usr/lib64]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib64] ==> [/lib64]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
|
||||
collapse library dir [/lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib] ==> [/usr/lib]
|
||||
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
|
||||
implicit objs: [/lib/x86_64-linux-gnu/Scrt1.o;/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o;/lib/x86_64-linux-gnu/crtn.o]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib/x86_64-linux-gnu;/lib;/usr/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
-
|
||||
kind: "try_compile-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile)"
|
||||
- "/usr/share/cmake-3.28/Modules/CheckCXXSourceCompiles.cmake:52 (cmake_check_source_compiles)"
|
||||
- "/usr/share/cmake-3.28/Modules/FindThreads.cmake:99 (CHECK_CXX_SOURCE_COMPILES)"
|
||||
- "/usr/share/cmake-3.28/Modules/FindThreads.cmake:163 (_threads_check_libc)"
|
||||
- "CMakeLists.txt:8 (find_package)"
|
||||
checks:
|
||||
- "Performing Test CMAKE_HAVE_LIBC_PTHREAD"
|
||||
directories:
|
||||
source: "/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-NkLKcD"
|
||||
binary: "/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-NkLKcD"
|
||||
cmakeVariables:
|
||||
CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS: "CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND"
|
||||
CMAKE_CXX_FLAGS: ""
|
||||
CMAKE_CXX_FLAGS_DEBUG: "-g"
|
||||
CMAKE_EXE_LINKER_FLAGS: ""
|
||||
buildResult:
|
||||
variable: "CMAKE_HAVE_LIBC_PTHREAD"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-NkLKcD'
|
||||
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_86ebd/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_86ebd.dir/build.make CMakeFiles/cmTC_86ebd.dir/build
|
||||
gmake[1]: Entering directory '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-NkLKcD'
|
||||
Building CXX object CMakeFiles/cmTC_86ebd.dir/src.cxx.o
|
||||
/usr/bin/clang++ -DCMAKE_HAVE_LIBC_PTHREAD -std=gnu++17 -MD -MT CMakeFiles/cmTC_86ebd.dir/src.cxx.o -MF CMakeFiles/cmTC_86ebd.dir/src.cxx.o.d -o CMakeFiles/cmTC_86ebd.dir/src.cxx.o -c /workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-NkLKcD/src.cxx
|
||||
Linking CXX executable cmTC_86ebd
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_86ebd.dir/link.txt --verbose=1
|
||||
/usr/bin/clang++ CMakeFiles/cmTC_86ebd.dir/src.cxx.o -o cmTC_86ebd
|
||||
gmake[1]: Leaving directory '/workspaces/metabuilder/build/CMakeFiles/CMakeScratch/TryCompile-NkLKcD'
|
||||
|
||||
exitCode: 0
|
||||
...
|
||||
@@ -1,16 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/workspaces/metabuilder/dbal/cpp")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/workspaces/metabuilder/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
||||
@@ -1,73 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"/opt/conda/lib/cmake/fmt/fmt-config-version.cmake"
|
||||
"/opt/conda/lib/cmake/fmt/fmt-config.cmake"
|
||||
"/opt/conda/lib/cmake/fmt/fmt-targets-release.cmake"
|
||||
"/opt/conda/lib/cmake/fmt/fmt-targets.cmake"
|
||||
"/opt/conda/lib/cmake/spdlog/spdlogConfig.cmake"
|
||||
"/opt/conda/lib/cmake/spdlog/spdlogConfigTargets-release.cmake"
|
||||
"/opt/conda/lib/cmake/spdlog/spdlogConfigTargets.cmake"
|
||||
"/opt/conda/lib/cmake/spdlog/spdlogConfigVersion.cmake"
|
||||
"/opt/conda/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake"
|
||||
"/opt/conda/share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake"
|
||||
"/opt/conda/share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCXXInformation.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeInitializeConfigs.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CheckCXXSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CheckIncludeFileCXX.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CheckLibraryExists.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Clang-CXX.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Clang.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/FindPackageMessage.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/FindSQLite3.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/FindThreads.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Internal/CheckSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-Clang-CXX.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-GNU.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-Initialize.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/UnixPaths.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeSystem.cmake"
|
||||
"/workspaces/metabuilder/dbal/cpp/CMakeLists.txt"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"CMakeFiles/dbal_core.dir/DependInfo.cmake"
|
||||
"CMakeFiles/dbal_adapters.dir/DependInfo.cmake"
|
||||
"CMakeFiles/dbal_daemon.dir/DependInfo.cmake"
|
||||
"CMakeFiles/client_test.dir/DependInfo.cmake"
|
||||
"CMakeFiles/query_test.dir/DependInfo.cmake"
|
||||
"CMakeFiles/integration_tests.dir/DependInfo.cmake"
|
||||
"CMakeFiles/conformance_tests.dir/DependInfo.cmake"
|
||||
"CMakeFiles/http_server_security_test.dir/DependInfo.cmake"
|
||||
)
|
||||
@@ -1,313 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /workspaces/metabuilder/dbal/cpp
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /workspaces/metabuilder/build
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for the build root directory
|
||||
|
||||
# The main recursive "all" target.
|
||||
all: CMakeFiles/dbal_core.dir/all
|
||||
all: CMakeFiles/dbal_adapters.dir/all
|
||||
all: CMakeFiles/dbal_daemon.dir/all
|
||||
all: CMakeFiles/client_test.dir/all
|
||||
all: CMakeFiles/query_test.dir/all
|
||||
all: CMakeFiles/integration_tests.dir/all
|
||||
all: CMakeFiles/conformance_tests.dir/all
|
||||
all: CMakeFiles/http_server_security_test.dir/all
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive "preinstall" target.
|
||||
preinstall:
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive "clean" target.
|
||||
clean: CMakeFiles/dbal_core.dir/clean
|
||||
clean: CMakeFiles/dbal_adapters.dir/clean
|
||||
clean: CMakeFiles/dbal_daemon.dir/clean
|
||||
clean: CMakeFiles/client_test.dir/clean
|
||||
clean: CMakeFiles/query_test.dir/clean
|
||||
clean: CMakeFiles/integration_tests.dir/clean
|
||||
clean: CMakeFiles/conformance_tests.dir/clean
|
||||
clean: CMakeFiles/http_server_security_test.dir/clean
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/dbal_core.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/dbal_core.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_core.dir/build.make CMakeFiles/dbal_core.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_core.dir/build.make CMakeFiles/dbal_core.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=8,9,10,11,12,13,14,15,16 "Built target dbal_core"
|
||||
.PHONY : CMakeFiles/dbal_core.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/dbal_core.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 9
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/dbal_core.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/dbal_core.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
dbal_core: CMakeFiles/dbal_core.dir/rule
|
||||
.PHONY : dbal_core
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/dbal_core.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_core.dir/build.make CMakeFiles/dbal_core.dir/clean
|
||||
.PHONY : CMakeFiles/dbal_core.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/dbal_adapters.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/dbal_adapters.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_adapters.dir/build.make CMakeFiles/dbal_adapters.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_adapters.dir/build.make CMakeFiles/dbal_adapters.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=5,6,7 "Built target dbal_adapters"
|
||||
.PHONY : CMakeFiles/dbal_adapters.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/dbal_adapters.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 3
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/dbal_adapters.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/dbal_adapters.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
dbal_adapters: CMakeFiles/dbal_adapters.dir/rule
|
||||
.PHONY : dbal_adapters
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/dbal_adapters.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_adapters.dir/build.make CMakeFiles/dbal_adapters.dir/clean
|
||||
.PHONY : CMakeFiles/dbal_adapters.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/dbal_daemon.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/dbal_daemon.dir/all: CMakeFiles/dbal_core.dir/all
|
||||
CMakeFiles/dbal_daemon.dir/all: CMakeFiles/dbal_adapters.dir/all
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_daemon.dir/build.make CMakeFiles/dbal_daemon.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_daemon.dir/build.make CMakeFiles/dbal_daemon.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=17,18,19,20 "Built target dbal_daemon"
|
||||
.PHONY : CMakeFiles/dbal_daemon.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/dbal_daemon.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 16
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/dbal_daemon.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/dbal_daemon.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
dbal_daemon: CMakeFiles/dbal_daemon.dir/rule
|
||||
.PHONY : dbal_daemon
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/dbal_daemon.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dbal_daemon.dir/build.make CMakeFiles/dbal_daemon.dir/clean
|
||||
.PHONY : CMakeFiles/dbal_daemon.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/client_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/client_test.dir/all: CMakeFiles/dbal_core.dir/all
|
||||
CMakeFiles/client_test.dir/all: CMakeFiles/dbal_adapters.dir/all
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/client_test.dir/build.make CMakeFiles/client_test.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/client_test.dir/build.make CMakeFiles/client_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=1,2 "Built target client_test"
|
||||
.PHONY : CMakeFiles/client_test.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/client_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 14
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/client_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/client_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
client_test: CMakeFiles/client_test.dir/rule
|
||||
.PHONY : client_test
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/client_test.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/client_test.dir/build.make CMakeFiles/client_test.dir/clean
|
||||
.PHONY : CMakeFiles/client_test.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/query_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/query_test.dir/all: CMakeFiles/dbal_core.dir/all
|
||||
CMakeFiles/query_test.dir/all: CMakeFiles/dbal_adapters.dir/all
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/query_test.dir/build.make CMakeFiles/query_test.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/query_test.dir/build.make CMakeFiles/query_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=25,26 "Built target query_test"
|
||||
.PHONY : CMakeFiles/query_test.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/query_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 14
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/query_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/query_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
query_test: CMakeFiles/query_test.dir/rule
|
||||
.PHONY : query_test
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/query_test.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/query_test.dir/build.make CMakeFiles/query_test.dir/clean
|
||||
.PHONY : CMakeFiles/query_test.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/integration_tests.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/integration_tests.dir/all: CMakeFiles/dbal_core.dir/all
|
||||
CMakeFiles/integration_tests.dir/all: CMakeFiles/dbal_adapters.dir/all
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/integration_tests.dir/build.make CMakeFiles/integration_tests.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/integration_tests.dir/build.make CMakeFiles/integration_tests.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=23,24 "Built target integration_tests"
|
||||
.PHONY : CMakeFiles/integration_tests.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/integration_tests.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 14
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/integration_tests.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/integration_tests.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
integration_tests: CMakeFiles/integration_tests.dir/rule
|
||||
.PHONY : integration_tests
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/integration_tests.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/integration_tests.dir/build.make CMakeFiles/integration_tests.dir/clean
|
||||
.PHONY : CMakeFiles/integration_tests.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/conformance_tests.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/conformance_tests.dir/all: CMakeFiles/dbal_core.dir/all
|
||||
CMakeFiles/conformance_tests.dir/all: CMakeFiles/dbal_adapters.dir/all
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/conformance_tests.dir/build.make CMakeFiles/conformance_tests.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/conformance_tests.dir/build.make CMakeFiles/conformance_tests.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=3,4 "Built target conformance_tests"
|
||||
.PHONY : CMakeFiles/conformance_tests.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/conformance_tests.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 14
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/conformance_tests.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/conformance_tests.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
conformance_tests: CMakeFiles/conformance_tests.dir/rule
|
||||
.PHONY : conformance_tests
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/conformance_tests.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/conformance_tests.dir/build.make CMakeFiles/conformance_tests.dir/clean
|
||||
.PHONY : CMakeFiles/conformance_tests.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/http_server_security_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/http_server_security_test.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/http_server_security_test.dir/build.make CMakeFiles/http_server_security_test.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/http_server_security_test.dir/build.make CMakeFiles/http_server_security_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=21,22 "Built target http_server_security_test"
|
||||
.PHONY : CMakeFiles/http_server_security_test.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/http_server_security_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 2
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/http_server_security_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /workspaces/metabuilder/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/http_server_security_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
http_server_security_test: CMakeFiles/http_server_security_test.dir/rule
|
||||
.PHONY : http_server_security_test
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/http_server_security_test.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/http_server_security_test.dir/build.make CMakeFiles/http_server_security_test.dir/clean
|
||||
.PHONY : CMakeFiles/http_server_security_test.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/workspaces/metabuilder/build/CMakeFiles/dbal_core.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/dbal_adapters.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/dbal_daemon.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/client_test.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/query_test.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/integration_tests.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/conformance_tests.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/http_server_security_test.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/test.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/edit_cache.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/rebuild_cache.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/list_install_components.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/install.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/install/local.dir
|
||||
/workspaces/metabuilder/build/CMakeFiles/install/strip.dir
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/workspaces/metabuilder/dbal/cpp/tests/unit/client_test.cpp" "CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o" "gcc" "CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
||||
@@ -1,114 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /workspaces/metabuilder/dbal/cpp
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /workspaces/metabuilder/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include CMakeFiles/client_test.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include CMakeFiles/client_test.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/client_test.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include CMakeFiles/client_test.dir/flags.make
|
||||
|
||||
CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o: CMakeFiles/client_test.dir/flags.make
|
||||
CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o: /workspaces/metabuilder/dbal/cpp/tests/unit/client_test.cpp
|
||||
CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o: CMakeFiles/client_test.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o -MF CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o.d -o CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o -c /workspaces/metabuilder/dbal/cpp/tests/unit/client_test.cpp
|
||||
|
||||
CMakeFiles/client_test.dir/tests/unit/client_test.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/client_test.dir/tests/unit/client_test.cpp.i"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /workspaces/metabuilder/dbal/cpp/tests/unit/client_test.cpp > CMakeFiles/client_test.dir/tests/unit/client_test.cpp.i
|
||||
|
||||
CMakeFiles/client_test.dir/tests/unit/client_test.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/client_test.dir/tests/unit/client_test.cpp.s"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /workspaces/metabuilder/dbal/cpp/tests/unit/client_test.cpp -o CMakeFiles/client_test.dir/tests/unit/client_test.cpp.s
|
||||
|
||||
# Object files for target client_test
|
||||
client_test_OBJECTS = \
|
||||
"CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o"
|
||||
|
||||
# External object files for target client_test
|
||||
client_test_EXTERNAL_OBJECTS =
|
||||
|
||||
client_test: CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o
|
||||
client_test: CMakeFiles/client_test.dir/build.make
|
||||
client_test: libdbal_core.a
|
||||
client_test: libdbal_adapters.a
|
||||
client_test: /opt/conda/lib/libspdlog.so.1.11.0
|
||||
client_test: /opt/conda/lib/libfmt.so.9.1.0
|
||||
client_test: CMakeFiles/client_test.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable client_test"
|
||||
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/client_test.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/client_test.dir/build: client_test
|
||||
.PHONY : CMakeFiles/client_test.dir/build
|
||||
|
||||
CMakeFiles/client_test.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/client_test.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/client_test.dir/clean
|
||||
|
||||
CMakeFiles/client_test.dir/depend:
|
||||
cd /workspaces/metabuilder/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /workspaces/metabuilder/dbal/cpp /workspaces/metabuilder/dbal/cpp /workspaces/metabuilder/build /workspaces/metabuilder/build /workspaces/metabuilder/build/CMakeFiles/client_test.dir/DependInfo.cmake "--color=$(COLOR)"
|
||||
.PHONY : CMakeFiles/client_test.dir/depend
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o"
|
||||
"CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o.d"
|
||||
"client_test"
|
||||
"client_test.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/client_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
||||
@@ -1,2 +0,0 @@
|
||||
# Empty compiler generated dependencies file for client_test.
|
||||
# This may be replaced when dependencies are built.
|
||||
@@ -1,2 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for client_test.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Empty dependencies file for client_test.
|
||||
# This may be replaced when dependencies are built.
|
||||
@@ -1,10 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# compile CXX with /usr/bin/clang++
|
||||
CXX_DEFINES = -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB
|
||||
|
||||
CXX_INCLUDES = -I/workspaces/metabuilder/dbal/cpp/include -isystem /opt/conda/include
|
||||
|
||||
CXX_FLAGS = -g -std=gnu++17
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/usr/bin/clang++ -g CMakeFiles/client_test.dir/tests/unit/client_test.cpp.o -o client_test -Wl,-rpath,/opt/conda/lib libdbal_core.a libdbal_adapters.a /opt/conda/lib/libspdlog.so.1.11.0 /opt/conda/lib/libfmt.so.9.1.0
|
||||
@@ -1,3 +0,0 @@
|
||||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/workspaces/metabuilder/dbal/cpp/tests/conformance/runner.cpp" "CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o" "gcc" "CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
||||
@@ -1,114 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /workspaces/metabuilder/dbal/cpp
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /workspaces/metabuilder/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include CMakeFiles/conformance_tests.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include CMakeFiles/conformance_tests.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/conformance_tests.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include CMakeFiles/conformance_tests.dir/flags.make
|
||||
|
||||
CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o: CMakeFiles/conformance_tests.dir/flags.make
|
||||
CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o: /workspaces/metabuilder/dbal/cpp/tests/conformance/runner.cpp
|
||||
CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o: CMakeFiles/conformance_tests.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o -MF CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o.d -o CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o -c /workspaces/metabuilder/dbal/cpp/tests/conformance/runner.cpp
|
||||
|
||||
CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.i"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /workspaces/metabuilder/dbal/cpp/tests/conformance/runner.cpp > CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.i
|
||||
|
||||
CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.s"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /workspaces/metabuilder/dbal/cpp/tests/conformance/runner.cpp -o CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.s
|
||||
|
||||
# Object files for target conformance_tests
|
||||
conformance_tests_OBJECTS = \
|
||||
"CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o"
|
||||
|
||||
# External object files for target conformance_tests
|
||||
conformance_tests_EXTERNAL_OBJECTS =
|
||||
|
||||
conformance_tests: CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o
|
||||
conformance_tests: CMakeFiles/conformance_tests.dir/build.make
|
||||
conformance_tests: libdbal_core.a
|
||||
conformance_tests: libdbal_adapters.a
|
||||
conformance_tests: /opt/conda/lib/libspdlog.so.1.11.0
|
||||
conformance_tests: /opt/conda/lib/libfmt.so.9.1.0
|
||||
conformance_tests: CMakeFiles/conformance_tests.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable conformance_tests"
|
||||
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/conformance_tests.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/conformance_tests.dir/build: conformance_tests
|
||||
.PHONY : CMakeFiles/conformance_tests.dir/build
|
||||
|
||||
CMakeFiles/conformance_tests.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/conformance_tests.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/conformance_tests.dir/clean
|
||||
|
||||
CMakeFiles/conformance_tests.dir/depend:
|
||||
cd /workspaces/metabuilder/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /workspaces/metabuilder/dbal/cpp /workspaces/metabuilder/dbal/cpp /workspaces/metabuilder/build /workspaces/metabuilder/build /workspaces/metabuilder/build/CMakeFiles/conformance_tests.dir/DependInfo.cmake "--color=$(COLOR)"
|
||||
.PHONY : CMakeFiles/conformance_tests.dir/depend
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o"
|
||||
"CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o.d"
|
||||
"conformance_tests"
|
||||
"conformance_tests.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/conformance_tests.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
||||
@@ -1,2 +0,0 @@
|
||||
# Empty compiler generated dependencies file for conformance_tests.
|
||||
# This may be replaced when dependencies are built.
|
||||
@@ -1,2 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for conformance_tests.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Empty dependencies file for conformance_tests.
|
||||
# This may be replaced when dependencies are built.
|
||||
@@ -1,10 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# compile CXX with /usr/bin/clang++
|
||||
CXX_DEFINES = -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB
|
||||
|
||||
CXX_INCLUDES = -I/workspaces/metabuilder/dbal/cpp/include -isystem /opt/conda/include
|
||||
|
||||
CXX_FLAGS = -g -std=gnu++17
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/usr/bin/clang++ -g CMakeFiles/conformance_tests.dir/tests/conformance/runner.cpp.o -o conformance_tests -Wl,-rpath,/opt/conda/lib libdbal_core.a libdbal_adapters.a /opt/conda/lib/libspdlog.so.1.11.0 /opt/conda/lib/libfmt.so.9.1.0
|
||||
@@ -1,3 +0,0 @@
|
||||
CMAKE_PROGRESS_1 = 3
|
||||
CMAKE_PROGRESS_2 = 4
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_adapter.cpp" "CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o" "gcc" "CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o.d"
|
||||
"/workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_pool.cpp" "CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o" "gcc" "CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
||||
@@ -1,127 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /workspaces/metabuilder/dbal/cpp
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /workspaces/metabuilder/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include CMakeFiles/dbal_adapters.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include CMakeFiles/dbal_adapters.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/dbal_adapters.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include CMakeFiles/dbal_adapters.dir/flags.make
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o: CMakeFiles/dbal_adapters.dir/flags.make
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o: /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_adapter.cpp
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o: CMakeFiles/dbal_adapters.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o -MF CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o.d -o CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o -c /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_adapter.cpp
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.i"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_adapter.cpp > CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.i
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.s"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_adapter.cpp -o CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.s
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o: CMakeFiles/dbal_adapters.dir/flags.make
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o: /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_pool.cpp
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o: CMakeFiles/dbal_adapters.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o -MF CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o.d -o CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o -c /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_pool.cpp
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.i"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_pool.cpp > CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.i
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.s"
|
||||
/usr/bin/clang++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /workspaces/metabuilder/dbal/cpp/src/adapters/sqlite/sqlite_pool.cpp -o CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.s
|
||||
|
||||
# Object files for target dbal_adapters
|
||||
dbal_adapters_OBJECTS = \
|
||||
"CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o" \
|
||||
"CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o"
|
||||
|
||||
# External object files for target dbal_adapters
|
||||
dbal_adapters_EXTERNAL_OBJECTS =
|
||||
|
||||
libdbal_adapters.a: CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o
|
||||
libdbal_adapters.a: CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o
|
||||
libdbal_adapters.a: CMakeFiles/dbal_adapters.dir/build.make
|
||||
libdbal_adapters.a: CMakeFiles/dbal_adapters.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/workspaces/metabuilder/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX static library libdbal_adapters.a"
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/dbal_adapters.dir/cmake_clean_target.cmake
|
||||
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/dbal_adapters.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/dbal_adapters.dir/build: libdbal_adapters.a
|
||||
.PHONY : CMakeFiles/dbal_adapters.dir/build
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/dbal_adapters.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/dbal_adapters.dir/clean
|
||||
|
||||
CMakeFiles/dbal_adapters.dir/depend:
|
||||
cd /workspaces/metabuilder/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /workspaces/metabuilder/dbal/cpp /workspaces/metabuilder/dbal/cpp /workspaces/metabuilder/build /workspaces/metabuilder/build /workspaces/metabuilder/build/CMakeFiles/dbal_adapters.dir/DependInfo.cmake "--color=$(COLOR)"
|
||||
.PHONY : CMakeFiles/dbal_adapters.dir/depend
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o"
|
||||
"CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o.d"
|
||||
"CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o"
|
||||
"CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o.d"
|
||||
"libdbal_adapters.a"
|
||||
"libdbal_adapters.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/dbal_adapters.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
||||
@@ -1,3 +0,0 @@
|
||||
file(REMOVE_RECURSE
|
||||
"libdbal_adapters.a"
|
||||
)
|
||||
@@ -1,2 +0,0 @@
|
||||
# Empty compiler generated dependencies file for dbal_adapters.
|
||||
# This may be replaced when dependencies are built.
|
||||
@@ -1,2 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for dbal_adapters.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Empty dependencies file for dbal_adapters.
|
||||
# This may be replaced when dependencies are built.
|
||||
@@ -1,10 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# compile CXX with /usr/bin/clang++
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/workspaces/metabuilder/dbal/cpp/include
|
||||
|
||||
CXX_FLAGS = -g -std=gnu++17
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
/usr/bin/llvm-ar qc libdbal_adapters.a CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_adapter.cpp.o CMakeFiles/dbal_adapters.dir/src/adapters/sqlite/sqlite_pool.cpp.o
|
||||
/usr/bin/llvm-ranlib libdbal_adapters.a
|
||||
@@ -1,4 +0,0 @@
|
||||
CMAKE_PROGRESS_1 = 5
|
||||
CMAKE_PROGRESS_2 = 6
|
||||
CMAKE_PROGRESS_3 = 7
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user