Skip to content

Commit

Permalink
repath parser ref
Browse files Browse the repository at this point in the history
  • Loading branch information
pd3v committed Jul 15, 2024
1 parent a320920 commit 47bdc9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ target_link_libraries(
Ableton::Link
)

file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build/externals/parser/)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lineparser.lua
# file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build/externals/parser/)
# file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lineparser.lua
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/build/externals/parser)

install(TARGETS ${PROJECT_NAME})
6 changes: 3 additions & 3 deletions line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include <readline/readline.h>
#include <readline/history.h>
#include "externals/link/examples/linkaudio/AudioPlatform_Dummy.hpp"
#include "externals/rtmidi/RtMidi.h"
//#include "RtMidi.h"
// #include "externals/rtmidi/RtMidi.h"
#include "RtMidi.h"

#if (__APPLE__)
#define __MACOSX_CORE__
Expand Down Expand Up @@ -133,7 +133,7 @@ class Parser {
public:
Parser() {
luaL_openlibs(L);
const std::string parserFile = "externals/parser/lineparser.lua";
const std::string parserFile = "../lineparser.lua";
std::ostringstream textBuffer;
std::ifstream input (parserFile.c_str());
textBuffer << input.rdbuf();
Expand Down

0 comments on commit 47bdc9d

Please sign in to comment.