Skip to content

Commit bce7950

Browse files
committed
build: add dependency on ExprTk to facilitate evaluating functions
1 parent 5167bae commit bce7950

File tree

6 files changed

+67
-45
lines changed

6 files changed

+67
-45
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ AllowAllConstructorInitializersOnNextLine: false
1212
BinPackArguments: false
1313
BinPackParameters: false
1414
ColumnLimit: 100
15-
15+
TabWidth: 4
1616
...

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ profile.json
1616
# User defined CMake preset file.
1717
CMakeUserPresets.json
1818
*.sublime-workspace
19-
/.idea/
19+
.idea/

.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

.idea/workspace.xml

Lines changed: 54 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ cmake_minimum_required(VERSION 3.22)
33
include(cmake/AppleBuild.cmake)
44

55
project(
6-
BasicGuiProjectSetup
7-
DESCRIPTION "Base GUI project setup."
6+
ImGraph
7+
DESCRIPTION "A graphing calculator written in C++ using a user interface built with Dear ImGui"
88
VERSION 1.0.0
99
LANGUAGES CXX)
1010

11-
set(PROJECT_COMPANY_NAME "My Company")
12-
set(PROJECT_COMPANY_NAMESPACE "com.mycompany") # Reverse domain name notation
11+
set(PROJECT_COMPANY_NAME "OPCODE")
12+
set(PROJECT_COMPANY_NAMESPACE "in.ac.iiitbh.gymkhana.opcode") # Reverse domain name notation
1313

1414
include(cmake/StandardProjectSettings.cmake)
1515
include(GNUInstallDirs)

vendor/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ FetchContent_Declare(
3232
GIT_TAG v1.15.3
3333
)
3434

35+
FetchContent_Declare(
36+
exprtk
37+
GIT_REPOSITORY "https://github.com/ArashPartow/exprtk.git"
38+
GIT_TAG 0.0.3
39+
)
40+
3541
# Settings
3642

3743
# For SDL2 to be able to override options
@@ -46,4 +52,4 @@ add_subdirectory(imgui-setup)
4652

4753
# Populate
4854

49-
FetchContent_MakeAvailable(doctest fmt imgui SDL2 spdlog)
55+
FetchContent_MakeAvailable(doctest fmt imgui SDL2 spdlog exprtk)

0 commit comments

Comments
 (0)