generated from filipdutescu/modern-cpp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code filters and slight doxygen changes (#3)
* Utility icons script for Windows * Adds QoL conan scripts * Better doxygen for libraries Disables source view, adds alphabetical indexing and removes "referenced by" text. Doxygen for development haven't been touched. * Force line endings as LF This should also fix the UnixScripts "bad interpreter" error, but the correction scripts won't be removed anyways and an entry in README about the error will be added in the future * Adds another resource As an example how to add multiple entries, for those who are not familiar with CMake syntax * Changed Exceptions' files structure Exception code files are now in separate folder * Adds code filters * Adds code filters usage to README Also CMakeLists.txt most important lines are now mentioned for simpler navigation
- Loading branch information
Showing
14 changed files
with
222 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
conan install conan/ --build=missing --settings=build_type=Debug | ||
conan install conan/ --build=missing --settings=build_type=Release | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
conan install conan/ --build=missing --settings=build_type=Debug | ||
conan install conan/ --build=missing --settings=build_type=Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
$targetPaths = @( | ||
"..\UnixScripts", | ||
"..\..\conanLibrariesInstall.sh" | ||
) | ||
|
||
foreach ($targetPath in $targetPaths) { | ||
if (-not (Test-Path -Path $targetPath)) { | ||
Write-Host "The target path '$targetPath' does not exist." | ||
continue | ||
} | ||
|
||
if ((Get-Item $targetPath).PSIsContainer) { | ||
# Process a directory | ||
Get-ChildItem -Path $targetPath | ForEach-Object { | ||
$file = $_.FullName | ||
Write-Host "Processing file: $file" | ||
|
||
# Read the content of the file and replace carriage return characters with empty strings | ||
$content = Get-Content -Path $file -Raw | ||
$content = $content -replace "\r", "" | ||
|
||
# Write the modified content back to the same file without adding a newline at the end | ||
Set-Content -Path $file -Value $content -NoNewline | ||
} | ||
|
||
Write-Host "All carriage return characters removed from files in $targetPath." | ||
} | ||
else { | ||
# Process a single file | ||
$file = $targetPath | ||
Write-Host "Processing file: $file" | ||
|
||
# Read the content of the file and replace carriage return characters with empty strings | ||
$content = Get-Content -Path $file -Raw | ||
$content = $content -replace "\r", "" | ||
|
||
# Write the modified content back to the same file without adding a newline at the end | ||
Set-Content -Path $file -Value $content -NoNewline | ||
|
||
Write-Host "All carriage return characters removed from $file." | ||
} | ||
} | ||
Pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "Exceptions.h" | ||
#include "Exceptions.h" | ||
|
||
//QML | ||
//QObject* AppException::exceptionMessage = nullptr; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#pragma once | ||
#pragma once | ||
|
||
#include <QDebug> | ||
#include <QException> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#pragma once | ||
#pragma once | ||
#include <QMainWindow> | ||
|
||
QT_BEGIN_NAMESPACE | ||
|
Empty file.