Initial CMake project structure

This commit is contained in:
2023-10-29 20:50:54 -03:00
parent 895c10c927
commit 932cffa95c
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 ];
};
});
}