Skip to content

Commit

Permalink
Merge pull request #19 from ModOrganizer2/update-cmake-common-qt6
Browse files Browse the repository at this point in the history
Update following cmake_common changes.
  • Loading branch information
Holt59 authored Apr 28, 2022
2 parents c95039a + b371a5f commit 9876f57
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 145 deletions.
10 changes: 4 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
cmake_minimum_required(VERSION 3.16)

project(nxmhandler)
set(project_type exe)
set(enable_warnings OFF)

if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/project.cmake)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/mo2.cmake)
else()
include(../cmake_common/project.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/../cmake_common/mo2.cmake)
endif()

project(nxmhandler)
add_subdirectory(src)
14 changes: 8 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
cmake_minimum_required(VERSION 3.16)
if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/src.cmake)
else()
include(../../cmake_common/src.cmake)
endif()
deploy_qt(BINARIES nxmhandler.exe NOPLUGINS)

add_executable(nxmhandler)
mo2_configure_executable(nxmhandler
WARNINGS OFF
PRIVATE_DEPENDS uibase)
mo2_install_target(nxmhandler)

mo2_deploy_qt(BINARIES nxmhandler.exe NOPLUGINS)
49 changes: 0 additions & 49 deletions src/SConscript

This file was deleted.

54 changes: 0 additions & 54 deletions src/nxmhandler.pro

This file was deleted.

30 changes: 0 additions & 30 deletions src/nxmhandler.qbs

This file was deleted.

0 comments on commit 9876f57

Please sign in to comment.