Skip to content

Commit

Permalink
Set compilation of plugins by default (#141)
Browse files Browse the repository at this point in the history
* Set compilation by default

* Update ci.yml

* Update ci.yml
  • Loading branch information
bakpaul authored Feb 12, 2025
1 parent 2c92963 commit 98d4a28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$WORKSPACE_INSTALL_PATH" \
-DAPPLICATION_RUNSOFAGLFW=ON \
-DPLUGIN_SOFAGLFW=ON \
-DPLUGIN_SOFAIMGUI=OFF \
../src \
&& ninja -v install"
else
Expand All @@ -66,7 +66,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$WORKSPACE_INSTALL_PATH" \
-DAPPLICATION_RUNSOFAGLFW=ON \
-DPLUGIN_SOFAGLFW=ON \
-DPLUGIN_SOFAIMGUI=OFF \
../src
ninja -v install
echo ${CCACHE_BASEDIR}
Expand Down Expand Up @@ -194,8 +194,6 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$WORKSPACE_INSTALL_PATH" \
-DAPPLICATION_RUNSOFAGLFW=ON \
-DPLUGIN_SOFAGLFW=ON \
-DPLUGIN_SOFAIMGUI=ON \
../src \
&& ninja -v install"
else
Expand All @@ -209,8 +207,6 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$WORKSPACE_INSTALL_PATH" \
-DAPPLICATION_RUNSOFAGLFW=ON \
-DPLUGIN_SOFAGLFW=ON \
-DPLUGIN_SOFAIMGUI=ON \
../src
ninja -v install
echo ${CCACHE_BASEDIR}
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ cmake_minimum_required(VERSION 3.12)

find_package(Sofa.Config REQUIRED)

sofa_add_subdirectory(plugin SofaGLFW SofaGLFW)
sofa_add_subdirectory(plugin SofaImGui SofaImGui)
sofa_add_subdirectory(plugin SofaGLFW SofaGLFW ON)
sofa_add_subdirectory(plugin SofaImGui SofaImGui ON)
sofa_add_subdirectory(application exe runSofaGLFW OFF)

0 comments on commit 98d4a28

Please sign in to comment.