Skip to content

Commit

Permalink
update cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
v7b1 committed Jan 27, 2022
1 parent f12ffa4 commit 7d68794
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 89 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "source/max-api"]
path = source/max-api
url = https://github.com/Cycling74/max-api/
[submodule "source/max-sdk-base"]
path = source/max-sdk-base
url = https://github.com/Cycling74/max-sdk-base.git
12 changes: 10 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.19)

project(sigmund_64bit-version)

if (APPLE)
if (NOT CMAKE_OSX_ARCHITECTURES)
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "macOS architecture" FORCE)
endif()
endif()



# Fetch the correct verion of the max-api
message(STATUS "Updating Git Submodules")
execute_process(
Expand All @@ -11,7 +19,7 @@ execute_process(


# Misc setup and subroutines
include(${CMAKE_CURRENT_SOURCE_DIR}/source/max-api/script/max-package.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/source/max-sdk-base/script/max-package.cmake)


# Generate a project for every folder in the "source/projects" folder
Expand Down
11 changes: 0 additions & 11 deletions License.md

This file was deleted.

4 changes: 2 additions & 2 deletions package-info.json.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"author" : "vboehm",
"description" : "A 64-bit version of the popular sigmund~ object by Miller Puckette",
"homepatcher" : "blah.maxpat",
"homepatcher" : "",
"max_version_min" : "8.1",
"name" : "sigmund_64bit-version",
"os" : {
"macintosh" : {
"platform" : [ "x64" ],
"platform" : [ "x64", "arm64" ],
"min_version" : "none"
},
"windows" : {
Expand Down
1 change: 0 additions & 1 deletion source/max-api
Submodule max-api deleted from d84bd8
1 change: 1 addition & 0 deletions source/max-sdk-base
Submodule max-sdk-base added at b6d635
6 changes: 2 additions & 4 deletions source/projects/sigmund_tilde/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
cmake_minimum_required(VERSION 3.0)


include(${CMAKE_CURRENT_SOURCE_DIR}/../../max-api/script/max-pretarget.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../max-sdk-base/script/max-pretarget.cmake)


include_directories(
Expand All @@ -17,4 +15,4 @@ add_library(
)


include(${CMAKE_CURRENT_SOURCE_DIR}/../../max-api/script/max-posttarget.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../max-sdk-base/script/max-posttarget.cmake)
66 changes: 0 additions & 66 deletions source/projects/sigmund_tilde/sigmund_tilde--.cpp

This file was deleted.

0 comments on commit 7d68794

Please sign in to comment.