William JCM
fc9d898c54
This is a big commit, but a necessary one, as too many things were intertwined. As a result, the code is now cleaner.
51 lines
1.6 KiB
CMake
51 lines
1.6 KiB
CMake
# wxMASSManager
|
|
# Copyright (C) 2020 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/>.
|
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project(wxMASSManager LANGUAGES CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_CXX_EXTENSIONS ON)
|
|
|
|
set(WITH_INTERCONNECT OFF CACHE BOOL "" FORCE)
|
|
set(WITH_PLUGINMANAGER OFF CACHE BOOL "" FORCE)
|
|
set(WITH_TESTSUITE OFF CACHE BOOL "" FORCE)
|
|
add_subdirectory(corrade)
|
|
|
|
find_package(Corrade REQUIRED Containers Utility)
|
|
|
|
include_directories(SYSTEM "C:/msys64/mingw64/lib/wx/include/msw-unicode-3.0")
|
|
include_directories(SYSTEM "C:/msys64/mingw64/include/wx-3.0")
|
|
|
|
add_executable(wxMASSManager WIN32
|
|
main.cpp
|
|
GUI/MainFrame.fbp
|
|
GUI/MainFrame.h
|
|
GUI/MainFrame.cpp
|
|
GUI/EvtMainFrame.h
|
|
GUI/EvtMainFrame.cpp
|
|
MassManager/MassManager.h
|
|
MassManager/MassManager.cpp
|
|
resource.rc)
|
|
|
|
target_link_libraries(wxMASSManager PRIVATE
|
|
Corrade::Containers
|
|
Corrade::Utility
|
|
wx_baseu-3.0
|
|
wx_mswu_core-3.0
|
|
wtsapi32)
|