Skip to content

Commit 04ca5c4

Browse files
authored
Sync1 (#1)
* Version 6.2.0 : sortie du projet GUIToolkits. * New CI workflows --------- Co-authored-by: Charles PIGNEROL <>
1 parent e49423e commit 04ca5c4

File tree

14 files changed

+181
-311
lines changed

14 files changed

+181
-311
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +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

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 (QtUtil CXX)
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 (QtUtil_VERSION ${QT_UTIL_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 (QT_UTIL_MAJOR_VERSION "5")
6-
set (QT_UTIL_MINOR_VERSION "7")
7-
set (QT_UTIL_RELEASE_VERSION "8")
5+
set (QT_UTIL_MAJOR_VERSION "6")
6+
set (QT_UTIL_MINOR_VERSION "2")
7+
set (QT_UTIL_RELEASE_VERSION "0")
88
set (QT_UTIL_VERSION ${QT_UTIL_MAJOR_VERSION}.${QT_UTIL_MINOR_VERSION}.${QT_UTIL_RELEASE_VERSION})
99

1010

cmake/workarounds.cmake

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

src/QtUtil/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
set (CURRENT_PACKAGE_NAME "QtUtil")
22
set (CURRENT_PACKAGE_MACRO_NAME "QT_UTIL")
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

8-
find_package (TkUtil 5 REQUIRED)
10+
find_package (TkUtil 6 REQUIRED)
911
find_package (Qt5Widgets 5 REQUIRED NO_CMAKE_SYSTEM_PATH)
1012
find_package (Qt5PrintSupport 5 REQUIRED NO_CMAKE_SYSTEM_PATH)
1113
#

src/encoding/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
find_package (GUIToolkitsVariables)
2+
13
include (${CMAKE_SOURCE_DIR}/cmake/version.cmake)
2-
include (${CMAKE_SOURCE_DIR}/cmake/common.cmake)
3-
include (${CMAKE_SOURCE_DIR}/cmake/workarounds.cmake)
4+
include (${GUIToolkitsVariables_CMAKE_DIR}/common.cmake)
5+
include (${GUIToolkitsVariables_CMAKE_DIR}/workarounds.cmake)
46

57
find_package (Qt5Widgets 5 REQUIRED NO_CMAKE_SYSTEM_PATH)
68

0 commit comments

Comments
 (0)