-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add resource file to _khiopsgetprocnumber
- Loading branch information
1 parent
3ca3240
commit 027d5d5
Showing
4 changed files
with
158 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
file(GLOB cppfiles ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) | ||
|
||
add_executable(_khiopsgetprocnumber ${cppfiles}) | ||
add_executable(_khiopsgetprocnumber ${cppfiles} _khiopsgetprocnumber.rc) | ||
set_khiops_options(_khiopsgetprocnumber) | ||
target_link_libraries(_khiopsgetprocnumber PUBLIC base) |
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,21 @@ | ||
// Copyright (c) 2024 Orange. All rights reserved. | ||
// This software is distributed under the BSD 3-Clause-clear License, the text of which is available | ||
// at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details. | ||
|
||
#pragma once | ||
#define GPN_STR(s) #s | ||
|
||
// Constantes definies a la fois dans les sources et dans les ressources Visual Studio. | ||
// Les ressources permettent d'afficher des informations sur les executables | ||
// dans le TaskManager de Windows (par exemple) | ||
|
||
// Version de Khiops | ||
#define GPN_VERSION GPN_STR(1.0.0) | ||
// Les versions release distribuees sont bases sur trois numeros, par exemple GPN_STR(10.2.0) | ||
// Les versions alpha, beta ou release candidate ont un suffixe supplementaire, par exemple : | ||
// - GPN_STR(10.5.0-a.1) | ||
// - GPN_STR(10.5.0-b.3) | ||
// - GPN_STR(10.5.0-rc.2) | ||
|
||
// Copyright | ||
#define GPN_COPYRIGHT_LABEL GPN_STR((c)2024 Orange - All rights reserved.) |
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,114 @@ | ||
// Microsoft Visual C++ generated resource script. | ||
// | ||
#include "resource.h" | ||
|
||
#define APSTUDIO_READONLY_SYMBOLS | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 2 resource. | ||
// | ||
#include "winres.h" | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#undef APSTUDIO_READONLY_SYMBOLS | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// Anglais (États-Unis) resources | ||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | ||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | ||
|
||
#ifdef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// TEXTINCLUDE | ||
// | ||
|
||
1 TEXTINCLUDE | ||
BEGIN | ||
"resource.h\0" | ||
END | ||
|
||
2 TEXTINCLUDE | ||
BEGIN | ||
"#include ""winres.h""\r\n" | ||
"\0" | ||
END | ||
|
||
3 TEXTINCLUDE | ||
BEGIN | ||
"\r\n" | ||
"\0" | ||
END | ||
|
||
#endif // APSTUDIO_INVOKED | ||
|
||
#endif // Anglais (États-Unis) resources | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// Français (France) resources | ||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) | ||
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Version | ||
// | ||
|
||
VS_VERSION_INFO VERSIONINFO | ||
FILEVERSION 0,0,0,0 | ||
PRODUCTVERSION 0,0,0,0 | ||
FILEFLAGSMASK 0x3fL | ||
#ifdef _DEBUG | ||
FILEFLAGS 0x1L | ||
#else | ||
FILEFLAGS 0x0L | ||
#endif | ||
FILEOS 0x40004L | ||
FILETYPE 0x1L | ||
FILESUBTYPE 0x0L | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "040c04b0" | ||
BEGIN | ||
VALUE "CompanyName", "Orange" | ||
VALUE "FileDescription","Khiops Get Proc Number Utility" | ||
VALUE "FileVersion", GPN_VERSION | ||
VALUE "InternalName", "_khiopsgetprocnumber.exe" | ||
VALUE "LegalCopyright", GPN_COPYRIGHT_LABEL | ||
VALUE "OriginalFilename", "_khiopsgetprocnumber.exe" | ||
VALUE "ProductName", "Khiops Get Proc Number" | ||
VALUE "ProductVersion", GPN_VERSION | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0x40c, 1200 | ||
END | ||
END | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// String Table | ||
// | ||
|
||
|
||
#endif // Français (France) resources | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 3 resource. | ||
// | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#endif // not APSTUDIO_INVOKED |
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,22 @@ | ||
// Copyright (c) 2024 Orange. All rights reserved. | ||
// This software is distributed under the BSD 3-Clause-clear License, the text of which is available | ||
// at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details. | ||
|
||
// Fichier genere automatiquement pour l'affichage des ressources | ||
// Ne pas modifier | ||
#ifdef _WIN32 | ||
//{{NO_DEPENDENCIES}} | ||
// Microsoft Visual C++ generated include file. | ||
// Used by khisto.rc | ||
#include "Version.h" | ||
// Valeurs par defaut suivantes des nouveaux objets | ||
// | ||
#ifdef APSTUDIO_INVOKED | ||
#ifndef APSTUDIO_READONLY_SYMBOLS | ||
#define _APS_NEXT_RESOURCE_VALUE 101 | ||
#define _APS_NEXT_COMMAND_VALUE 40001 | ||
#define _APS_NEXT_CONTROL_VALUE 1001 | ||
#define _APS_NEXT_SYMED_VALUE 101 | ||
#endif | ||
#endif | ||
#endif |