diff --git a/.gitignore b/.gitignore index b07dc7e..3d67197 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,10 @@ out/ .vs/slnx.sqlite .vs/VSWorkspaceState.json +# Excludes binary outputs in root dir # +*.exe +*.ilk +*.pdb + # Ignores the log output file of the .exe # LXC.log diff --git a/CMakeLists.txt b/CMakeLists.txt index 14fe39d..15bbfd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,9 @@ set(CMAKE_CXX_EXTENSIONS OFF) project(LXC_Project LANGUAGES CXX) +# Makes .exes be outputted within the root directory # +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}) + # Adds the sub-directories of all of the binaries # add_subdirectory(Lexer)