Initial CMake project structure

This commit is contained in:
jun
2023-07-23 20:19:46 -03:00
parent c4dcfadc90
commit d9e07ab79c
7 changed files with 128 additions and 0 deletions

21
flake.nix Normal file
View File

@@ -0,0 +1,21 @@
# Copyright (c) 2023 jun <https://git.firmwarejun.net/jun/MolecularDynamics2>
{
description = "MolecularDynamics2";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [ gcc cmake clang gnuplot llvmPackages.openmp bc ];
};
});
}