Skip to content

Commit

Permalink
Merge branch 'versioning' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
nwolek committed Mar 29, 2016
2 parents a8dc0cf + 9c52967 commit 6a2a84a
Show file tree
Hide file tree
Showing 38 changed files with 62 additions and 18 deletions.
13 changes: 11 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ execute_process(
)


# Update version numbers based on the latest git tag to the repository
if (EXISTS "${CMAKE_CURRENT_LIST_DIR}/package-info.json.in")
include(${CMAKE_CURRENT_SOURCE_DIR}/source/max-sdk-core/script/git-rev.cmake)
message("Building _____ ${GIT_TAG} _____")
configure_file("${CMAKE_CURRENT_LIST_DIR}/package-info.json.in" "${CMAKE_CURRENT_LIST_DIR}/package-info.json" @ONLY)
endif ()

# Macro from http://stackoverflow.com/questions/7787823/cmake-how-to-get-the-name-of-all-subdirectories-of-a-directory
MACRO(SUBDIRLIST result curdir)
FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)
Expand All @@ -28,6 +35,8 @@ ENDMACRO()
# Now build every project using the macro above
SUBDIRLIST(PROJECT_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/source/projects)
foreach(project_dir ${PROJECT_DIRS})
MESSAGE("Generating: ${project_dir}")
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/source/projects/${project_dir})
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/source/projects/${project_dir}/CMakeLists.txt")
message("Generating: ${project_dir}")
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/source/projects/${project_dir})
endif()
endforeach()
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '1.1.beta-{build}'

environment:
CMAKE_PATH: $(APPVEYOR_BUILD_FOLDER)\cmake-3.4.1-win32-x86
VS_VERSION: "Visual Studio 12"
Expand Down
Empty file modified externals/nw.cppan~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.cppan~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.cppan~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.gateplus~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.gateplus~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.gateplus~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.grainbang~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.grainbang~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.grainbang~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.grainphase~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.grainphase~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.grainphase~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.grainpulse~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.grainpulse~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.grainpulse~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.grainstream~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.grainstream~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.grainstream~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.gverb~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.gverb~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.gverb~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.phasorshift~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.phasorshift~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.phasorshift~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.pulsesamp~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.pulsesamp~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.pulsesamp~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.recordplus~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.recordplus~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.recordplus~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
Empty file modified externals/nw.trainshift~.mxe
100644 → 100755
Empty file.
Binary file modified externals/nw.trainshift~.mxe64
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion externals/nw.trainshift~.mxo/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<string>1.1.beta2</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
4 changes: 2 additions & 2 deletions package-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
}
,
"tags" : [ "granular", "sampling", "reverb", "zero-crossings" ],
"version" : "1.1.beta",
"version" : "1.1.beta2",
"website" : "http://www.nathanwolek.com",
"filelist" : {
"externals" : [ "nw.cppan~.mxo", "nw.gateplus~.mxo", "nw.grainbang~.mxo", "nw.grainphase~.mxo", "nw.grainpulse~.mxo", "nw.grainstream~.mxo", "nw.gverb~.mxo", "nw.phasorshift~.mxo", "nw.pulsesamp~.mxo", "nw.recordplus~.mxo", "nw.trainshift~.mxo" ],
"patchers" : [ "buffer-scrub-demo.maxpat", "gate-comparison.maxpat", "module_demo/g_2voice/g_2voice.model.maxhelp", "module_demo/g_2voice/g_2voice.model.maxpat", "module_demo/g_2voice/g_2voice.model.presets.txt", "module_demo/g_2voice/g_2voice.module.maxpat", "module_demo/g_2voice/g_2voice.view.maxpat", "module_demo/readme.md", "record-comparison.maxpat", "reverb-mix-demo.maxpat", "time-stretch-demo.maxpat" ],
"help" : [ "nw.cppan~.maxhelp", "nw.cycle.maxhelp", "nw.gateplus~.maxhelp", "nw.grainbang~.maxhelp", "nw.grainphase~.maxhelp", "nw.grainpulse~.maxhelp", "nw.grainstream~.maxhelp", "nw.gverb~.maxhelp", "nw.phasorshift~.maxhelp", "nw.pulsesamp~.maxhelp", "nw.recordplus~.maxhelp", "nw.trainshift~.maxhelp" ],
"help" : [ "nw.cppan~.maxhelp", "nw.gateplus~.maxhelp", "nw.grainbang~.maxhelp", "nw.grainphase~.maxhelp", "nw.grainpulse~.maxhelp", "nw.grainstream~.maxhelp", "nw.gverb~.maxhelp", "nw.phasorshift~.maxhelp", "nw.pulsesamp~.maxhelp", "nw.recordplus~.maxhelp", "nw.trainshift~.maxhelp" ],
"media" : [ "grain_windows/3stage-linear_30.aiff", "grain_windows/3stage-linear_50.aiff", "grain_windows/blackman-harris.aiff", "grain_windows/blackman.aiff", "grain_windows/expodec.aiff", "grain_windows/gauss.aiff", "grain_windows/hamming.aiff", "grain_windows/hanning.aiff", "grain_windows/quasi-gauss_30.aiff", "grain_windows/quasi-gauss_50.aiff", "grain_windows/rexpodec.aiff", "grain_windows/triangle.aiff" ],
"docs" : [ "nw.cppan~.maxref.xml", "nw.gateplus~.maxref.xml", "nw.grainbang~.maxref.xml", "nw.grainphase~.maxref.xml", "nw.grainpulse~.maxref.xml", "nw.grainstream~.maxref.xml", "nw.gverb~.maxref.xml", "nw.phasorshift~.maxref.xml", "nw.pulsesamp~.maxref.xml", "nw.recordplus~.maxref.xml", "nw.trainshift~.maxref.xml" ],
"javascript" : [ "nw.cycle.js" ],
Expand Down
37 changes: 37 additions & 0 deletions package-info.json.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"author" : "Nathan Wolek",
"authors" : [ ],
"description" : "Contains updated objects from the Granular Toolkit, a classic stereo reverb and some twists on standard MSP objects that makes them savvy about zero-crossings. ",
"displayname" : "",
"extends" : "",
"extensible" : 0,
"homepatcher" : "LowkeyNW-Overview.maxpat",
"max_version_max" : "7.2",
"max_version_min" : "6.1",
"name" : "LowkeyNW",
"os" : {
"macintosh" : {
"platform" : [ "x64" ],
"min_version" : "10.7.x"
}
,
"windows" : {

}

}
,
"tags" : [ "granular", "sampling", "reverb", "zero-crossings" ],
"version" : "@GIT_VERSION_MAJ@.@GIT_VERSION_MIN@.@GIT_VERSION_SUB@",
"website" : "http://www.nathanwolek.com",
"filelist" : {
"externals" : [ "nw.cppan~.mxo", "nw.gateplus~.mxo", "nw.grainbang~.mxo", "nw.grainphase~.mxo", "nw.grainpulse~.mxo", "nw.grainstream~.mxo", "nw.gverb~.mxo", "nw.phasorshift~.mxo", "nw.pulsesamp~.mxo", "nw.recordplus~.mxo", "nw.trainshift~.mxo" ],
"patchers" : [ "buffer-scrub-demo.maxpat", "gate-comparison.maxpat", "module_demo/g_2voice/g_2voice.model.maxhelp", "module_demo/g_2voice/g_2voice.model.maxpat", "module_demo/g_2voice/g_2voice.model.presets.txt", "module_demo/g_2voice/g_2voice.module.maxpat", "module_demo/g_2voice/g_2voice.view.maxpat", "module_demo/readme.md", "record-comparison.maxpat", "reverb-mix-demo.maxpat", "time-stretch-demo.maxpat" ],
"help" : [ "nw.cppan~.maxhelp", "nw.gateplus~.maxhelp", "nw.grainbang~.maxhelp", "nw.grainphase~.maxhelp", "nw.grainpulse~.maxhelp", "nw.grainstream~.maxhelp", "nw.gverb~.maxhelp", "nw.phasorshift~.maxhelp", "nw.pulsesamp~.maxhelp", "nw.recordplus~.maxhelp", "nw.trainshift~.maxhelp" ],
"media" : [ "grain_windows/3stage-linear_30.aiff", "grain_windows/3stage-linear_50.aiff", "grain_windows/blackman-harris.aiff", "grain_windows/blackman.aiff", "grain_windows/expodec.aiff", "grain_windows/gauss.aiff", "grain_windows/hamming.aiff", "grain_windows/hanning.aiff", "grain_windows/quasi-gauss_30.aiff", "grain_windows/quasi-gauss_50.aiff", "grain_windows/rexpodec.aiff", "grain_windows/triangle.aiff" ],
"docs" : [ "nw.cppan~.maxref.xml", "nw.gateplus~.maxref.xml", "nw.grainbang~.maxref.xml", "nw.grainphase~.maxref.xml", "nw.grainpulse~.maxref.xml", "nw.grainstream~.maxref.xml", "nw.gverb~.maxref.xml", "nw.phasorshift~.maxref.xml", "nw.pulsesamp~.maxref.xml", "nw.recordplus~.maxref.xml", "nw.trainshift~.maxref.xml" ],
"javascript" : [ "nw.cycle.js" ],
"extras" : [ "LowkeyNW-Overview.maxpat" ]
}

}
2 changes: 1 addition & 1 deletion source/max-sdk-core

0 comments on commit 6a2a84a

Please sign in to comment.