Skip to content

Commit ccf0602

Browse files
authored
Sync1 (#1)
* Version 4.2.0 : sortie du projet GUIToolkits. * New CI workflows * Fix error in workflow --------- Co-authored-by: Charles PIGNEROL <>
1 parent 7413140 commit ccf0602

File tree

17 files changed

+96
-204
lines changed

17 files changed

+96
-204
lines changed

.github/workflows/cmake-ci.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/make-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Make release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
call:
10+
name: Call check version CI
11+
uses: LIHPC-Computational-Geometry/lihpccg-ci/.github/workflows/make-release-reusable.yml@main

.github/workflows/spack-ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name: Spack CI
22

33
on:
4-
workflow_dispatch:
54
push:
6-
branches: [ main ]
5+
branches:
6+
- '**'
77
pull_request:
8-
branches: [ main ]
8+
# Allows you to run this workflow manually
9+
workflow_dispatch:
910

1011
jobs:
1112
call:
12-
name: Call Spack reusable workflow
13+
name: Call Spack CI
1314
uses: LIHPC-Computational-Geometry/lihpccg-ci/.github/workflows/spack-reusable.yml@main
14-
with:
15-
test-link-options: "-DBUILD_GQGMDS:BOOL=ON"

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ cmake_minimum_required(VERSION 3.12)
33
project (QQualif CXX C)
44

55
include (GNUInstallDirs)
6+
7+
find_package (GUIToolkitsVariables)
8+
69
include (cmake/version.cmake)
7-
include (cmake/common.cmake)
10+
include (${GUIToolkitsVariables_CMAKE_DIR}/common.cmake)
811

912
set (QQualif_VERSION ${QQUALIF_VERSION})
1013

11-
# Ici et pas ailleurs : CMAKE_VERBOSE_MAKEFILE
1214
set (CMAKE_VERBOSE_MAKEFILE ON)
1315
option (BUILD_SHARED_LIBS "Creation de bibliotheques dynamiques (defaut : ON)" ON)
1416

cmake/common.cmake

Lines changed: 0 additions & 33 deletions
This file was deleted.

cmake/organization.cmake

Lines changed: 0 additions & 36 deletions
This file was deleted.

cmake/version.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# version.cmake : version du projet
33
#
44

5-
set (QQUALIF_MAJOR_VERSION "3")
6-
set (QQUALIF_MINOR_VERSION "9")
7-
set (QQUALIF_RELEASE_VERSION "1")
5+
set (QQUALIF_MAJOR_VERSION "4")
6+
set (QQUALIF_MINOR_VERSION "2")
7+
set (QQUALIF_RELEASE_VERSION "0")
88
set (QQUALIF_VERSION ${QQUALIF_MAJOR_VERSION}.${QQUALIF_MINOR_VERSION}.${QQUALIF_RELEASE_VERSION})
99

1010

cmake/workarounds.cmake

Lines changed: 0 additions & 83 deletions
This file was deleted.

src/GQGMDS/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
set (CURRENT_PACKAGE_NAME "GQGMDS")
22
set (CURRENT_PACKAGE_MACRO_NAME "GQGMDS")
33

4+
find_package (GUIToolkitsVariables)
5+
46
include (${CMAKE_SOURCE_DIR}/cmake/version.cmake)
5-
include (${CMAKE_SOURCE_DIR}/cmake/common.cmake)
6-
include (${CMAKE_SOURCE_DIR}/cmake/workarounds.cmake)
7+
include (${GUIToolkitsVariables_CMAKE_DIR}/common.cmake)
8+
include (${GUIToolkitsVariables_CMAKE_DIR}/workarounds.cmake)
79

810
find_package (gmds REQUIRED)
911

src/GQLima/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
set (CURRENT_PACKAGE_NAME "GQLima")
22
set (CURRENT_PACKAGE_MACRO_NAME "GQLIMA")
33

4+
find_package (GUIToolkitsVariables)
5+
46
include (${CMAKE_SOURCE_DIR}/cmake/version.cmake)
5-
include (${CMAKE_SOURCE_DIR}/cmake/common.cmake)
6-
include (${CMAKE_SOURCE_DIR}/cmake/workarounds.cmake)
7+
include (${GUIToolkitsVariables_CMAKE_DIR}/common.cmake)
8+
include (${GUIToolkitsVariables_CMAKE_DIR}/workarounds.cmake)
79

810
find_package (Lima REQUIRED)
9-
# 02/23 - BL: lima is built without Hdf145
10-
# include (${Lima_LIB_DIR}/Lima/cmake/FindHdf145.cmake)
1111

1212
file (GLOB HEADERS public/${CURRENT_PACKAGE_NAME}/*.h)
1313
file (GLOB CPP_SOURCES *.cpp)

0 commit comments

Comments
 (0)