Skip to content

Commit

Permalink
Rename Project
Browse files Browse the repository at this point in the history
  • Loading branch information
xorz57 committed Dec 18, 2023
1 parent 4eac25e commit 0286c77
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set(SOURCES src/Application.cpp
src/Spring.cpp)

add_library(${PROJECT_NAME} ${SOURCES})
add_library(ParticleDynamics::Engine ALIAS ${PROJECT_NAME})
add_library(ParticlePhysics::Engine ALIAS ${PROJECT_NAME})

target_include_directories(${PROJECT_NAME} PUBLIC include)

Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<h1 align="center">Particle Dynamics</h1>

<div align="center">
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticleDynamics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticleDynamics&metric=alert_status" alt="Quality Gate Status">
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticlePhysics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticlePhysics&metric=alert_status" alt="Quality Gate Status">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticleDynamics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticleDynamics&metric=bugs" alt="Bugs">
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticlePhysics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticlePhysics&metric=bugs" alt="Bugs">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticleDynamics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticleDynamics&metric=vulnerabilities" alt="Vulnerabilities">
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticlePhysics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticlePhysics&metric=vulnerabilities" alt="Vulnerabilities">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticleDynamics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticleDynamics&metric=code_smells" alt="Code Smells">
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticlePhysics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticlePhysics&metric=code_smells" alt="Code Smells">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticleDynamics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticleDynamics&metric=coverage" alt="Coverage">
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticlePhysics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticlePhysics&metric=coverage" alt="Coverage">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticleDynamics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticleDynamics&metric=duplicated_lines_density" alt="Duplicated Lines (%)">
<a href="https://sonarcloud.io/summary/new_code?id=xorz57_ParticlePhysics">
<img src="https://sonarcloud.io/api/project_badges/measure?project=xorz57_ParticlePhysics&metric=duplicated_lines_density" alt="Duplicated Lines (%)">
</a>
</div>

Expand Down Expand Up @@ -64,8 +64,8 @@ Please ensure you have these dependencies installed before building the project.
git clone https://github.com/microsoft/vcpkg.git ~/vcpkg
~/vcpkg/bootstrap-vcpkg.sh

git clone https://github.com/xorz57/ParticleDynamics.git
cd ParticleDynamics
git clone https://github.com/xorz57/ParticlePhysics.git
cd ParticlePhysics
cmake -B build -DCMAKE_BUILD_TYPE=Release -S . -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release
ctest --build-config Release
Expand All @@ -78,8 +78,8 @@ git clone https://github.com/microsoft/vcpkg.git C:/vcpkg
C:/vcpkg/bootstrap-vcpkg.bat
C:/vcpkg/vcpkg.exe integrate install
git clone https://github.com/xorz57/ParticleDynamics.git
cd ParticleDynamics
git clone https://github.com/xorz57/ParticlePhysics.git
cd ParticlePhysics
cmake -B build -DCMAKE_BUILD_TYPE=Release -S . -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release
ctest --build-config Release
Expand Down
4 changes: 2 additions & 2 deletions Sandbox/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ set(SOURCES src/Sandbox.cpp
src/SoftBody3.cpp)

add_executable(${PROJECT_NAME} ${SOURCES})
add_executable(ParticleDynamics::Sandbox ALIAS ${PROJECT_NAME})
add_executable(ParticlePhysics::Sandbox ALIAS ${PROJECT_NAME})

target_include_directories(${PROJECT_NAME} PUBLIC include)

target_link_libraries(${PROJECT_NAME} PRIVATE ParticleDynamics::Engine)
target_link_libraries(${PROJECT_NAME} PRIVATE ParticlePhysics::Engine)
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sonar.projectKey=xorz57_ParticleDynamics
sonar.projectKey=xorz57_ParticlePhysics
sonar.organization=xorz57

# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=ParticleDynamics
#sonar.projectName=ParticlePhysics
#sonar.projectVersion=1.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
Expand Down

0 comments on commit 0286c77

Please sign in to comment.