Change project structure and update copyright years.
This commit is contained in:
parent
e98a5e9d26
commit
4883b617fd
29 changed files with 191 additions and 170 deletions
|
@ -1,5 +1,5 @@
|
||||||
# wxMASSManager
|
# wxMASSManager
|
||||||
# Copyright (C) 2020 Guillaume Jacquemin
|
# Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -37,70 +37,4 @@ if(USE_CORRADE_SUBMODULE)
|
||||||
add_subdirectory(corrade EXCLUDE_FROM_ALL)
|
add_subdirectory(corrade EXCLUDE_FROM_ALL)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Corrade REQUIRED Containers Utility)
|
add_subdirectory(src)
|
||||||
|
|
||||||
include_directories(SYSTEM "C:/msys64/mingw64/lib/wx/include/msw-unicode-static-3.0")
|
|
||||||
include_directories(SYSTEM "C:/msys64/mingw64/include/wx-3.0")
|
|
||||||
|
|
||||||
set_directory_properties(PROPERTIES CORRADE_USE_PEDANTIC_FLAGS ON)
|
|
||||||
|
|
||||||
add_executable(wxMASSManager WIN32
|
|
||||||
main.cpp
|
|
||||||
GUI/MainFrame.fbp
|
|
||||||
GUI/MainFrame.h
|
|
||||||
GUI/MainFrame.cpp
|
|
||||||
GUI/EvtMainFrame.h
|
|
||||||
GUI/EvtMainFrame.cpp
|
|
||||||
GUI/NameChangeDialog.fbp
|
|
||||||
GUI/NameChangeDialog.h
|
|
||||||
GUI/NameChangeDialog.cpp
|
|
||||||
GUI/EvtNameChangeDialog.h
|
|
||||||
GUI/EvtNameChangeDialog.cpp
|
|
||||||
Maps/LastMissionId.h
|
|
||||||
Maps/StoryProgress.h
|
|
||||||
Mass/Mass.h
|
|
||||||
Mass/Mass.cpp
|
|
||||||
MassBuilderManager/MassBuilderManager.h
|
|
||||||
MassBuilderManager/MassBuilderManager.cpp
|
|
||||||
MassManager/MassManager.h
|
|
||||||
MassManager/MassManager.cpp
|
|
||||||
Profile/Locators.h
|
|
||||||
Profile/Profile.h
|
|
||||||
Profile/Profile.cpp
|
|
||||||
ProfileManager/ProfileManager.h
|
|
||||||
ProfileManager/ProfileManager.cpp
|
|
||||||
resource.rc)
|
|
||||||
|
|
||||||
target_compile_options(wxMASSManager PRIVATE -D_FILE_OFFSET_BITS=64 -D__WXMSW__ -fpermissive)
|
|
||||||
|
|
||||||
target_link_options(wxMASSManager PRIVATE -static -static-libgcc -static-libstdc++ -pipe -Wl,--subsystem,windows -mwindows)
|
|
||||||
|
|
||||||
target_link_libraries(wxMASSManager PRIVATE
|
|
||||||
Corrade::Containers
|
|
||||||
Corrade::Utility
|
|
||||||
wx_mswu_propgrid-3.0
|
|
||||||
wx_mswu_adv-3.0
|
|
||||||
wx_mswu_core-3.0
|
|
||||||
wx_baseu-3.0
|
|
||||||
wxregexu-3.0
|
|
||||||
wxexpat-3.0
|
|
||||||
wxtiff-3.0
|
|
||||||
wxjpeg-3.0
|
|
||||||
wxpng-3.0
|
|
||||||
wxzlib-3.0
|
|
||||||
rpcrt4
|
|
||||||
oleaut32
|
|
||||||
ole32
|
|
||||||
uuid
|
|
||||||
lzma
|
|
||||||
jbig
|
|
||||||
winspool
|
|
||||||
winmm
|
|
||||||
shell32
|
|
||||||
comctl32
|
|
||||||
comdlg32
|
|
||||||
advapi32
|
|
||||||
wsock32
|
|
||||||
gdi32
|
|
||||||
oleacc
|
|
||||||
wtsapi32)
|
|
||||||
|
|
87
src/CMakeLists.txt
Normal file
87
src/CMakeLists.txt
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
# wxMASSManager
|
||||||
|
# Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
|
find_package(Corrade REQUIRED Containers Utility)
|
||||||
|
|
||||||
|
include_directories(SYSTEM "C:/msys64/mingw64/lib/wx/include/msw-unicode-static-3.0")
|
||||||
|
include_directories(SYSTEM "C:/msys64/mingw64/include/wx-3.0")
|
||||||
|
|
||||||
|
set_directory_properties(PROPERTIES CORRADE_USE_PEDANTIC_FLAGS ON)
|
||||||
|
|
||||||
|
add_executable(wxMASSManager WIN32
|
||||||
|
main.cpp
|
||||||
|
GUI/MainFrame.fbp
|
||||||
|
GUI/MainFrame.h
|
||||||
|
GUI/MainFrame.cpp
|
||||||
|
GUI/EvtMainFrame.h
|
||||||
|
GUI/EvtMainFrame.cpp
|
||||||
|
GUI/NameChangeDialog.fbp
|
||||||
|
GUI/NameChangeDialog.h
|
||||||
|
GUI/NameChangeDialog.cpp
|
||||||
|
GUI/EvtNameChangeDialog.h
|
||||||
|
GUI/EvtNameChangeDialog.cpp
|
||||||
|
Maps/LastMissionId.h
|
||||||
|
Maps/StoryProgress.h
|
||||||
|
Mass/Mass.h
|
||||||
|
Mass/Mass.cpp
|
||||||
|
MassBuilderManager/MassBuilderManager.h
|
||||||
|
MassBuilderManager/MassBuilderManager.cpp
|
||||||
|
MassManager/MassManager.h
|
||||||
|
MassManager/MassManager.cpp
|
||||||
|
Profile/Locators.h
|
||||||
|
Profile/Profile.h
|
||||||
|
Profile/Profile.cpp
|
||||||
|
ProfileManager/ProfileManager.h
|
||||||
|
ProfileManager/ProfileManager.cpp
|
||||||
|
resource.rc)
|
||||||
|
|
||||||
|
target_compile_options(wxMASSManager PRIVATE -D_FILE_OFFSET_BITS=64 -D__WXMSW__)
|
||||||
|
|
||||||
|
target_link_options(wxMASSManager PRIVATE -static -static-libgcc -static-libstdc++ -pipe -Wl,--subsystem,windows -mwindows)
|
||||||
|
|
||||||
|
target_link_libraries(wxMASSManager PRIVATE
|
||||||
|
Corrade::Containers
|
||||||
|
Corrade::Utility
|
||||||
|
wx_mswu_propgrid-3.0
|
||||||
|
wx_mswu_adv-3.0
|
||||||
|
wx_mswu_core-3.0
|
||||||
|
wx_baseu-3.0
|
||||||
|
wxregexu-3.0
|
||||||
|
wxexpat-3.0
|
||||||
|
wxtiff-3.0
|
||||||
|
wxjpeg-3.0
|
||||||
|
wxpng-3.0
|
||||||
|
wxzlib-3.0
|
||||||
|
rpcrt4
|
||||||
|
oleaut32
|
||||||
|
ole32
|
||||||
|
uuid
|
||||||
|
lzma
|
||||||
|
jbig
|
||||||
|
winspool
|
||||||
|
winmm
|
||||||
|
shell32
|
||||||
|
comctl32
|
||||||
|
comdlg32
|
||||||
|
advapi32
|
||||||
|
wsock32
|
||||||
|
gdi32
|
||||||
|
oleacc
|
||||||
|
wtsapi32)
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -2,7 +2,7 @@
|
||||||
#define __EvtMainFrame__
|
#define __EvtMainFrame__
|
||||||
|
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -2,7 +2,7 @@
|
||||||
#define __EvtNameChangeDialog__
|
#define __EvtNameChangeDialog__
|
||||||
|
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -2,7 +2,7 @@
|
||||||
#define MASS_H
|
#define MASS_H
|
||||||
|
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -2,7 +2,7 @@
|
||||||
#define MASSBUILDERMANAGER_H
|
#define MASSBUILDERMANAGER_H
|
||||||
|
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -2,7 +2,7 @@
|
||||||
#define MASSMANAGER_H
|
#define MASSMANAGER_H
|
||||||
|
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -2,7 +2,7 @@
|
||||||
#define PROFILEMANAGER_H
|
#define PROFILEMANAGER_H
|
||||||
|
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
Before Width: | Height: | Size: 486 KiB After Width: | Height: | Size: 486 KiB |
|
@ -1,5 +1,5 @@
|
||||||
// wxMASSManager
|
// wxMASSManager
|
||||||
// Copyright (C) 2020 Guillaume Jacquemin
|
// Copyright (C) 2020-2021 Guillaume Jacquemin
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
Loading…
Reference in a new issue