Commit 51187a2b authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

committing work to clean up xacc lang and scaffold compilers


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent c60319d6
......@@ -2,4 +2,6 @@ add_subdirectory(ibm)
add_subdirectory(rigetti)
add_subdirectory(cmr)
add_subdirectory(dwave)
add_subdirectory(algorithms)
\ No newline at end of file
add_subdirectory(algorithms)
add_subdirectory(scaffold)
add_subdirectory(ir_lang)
\ No newline at end of file
set(LIBRARY_NAME xacc-lang-compiler)
set(ANTLR_LIB ${CMAKE_SOURCE_DIR}/dist/libantlr4-runtime.so)
if (APPLE)
set(ANTLR_LIB ${CMAKE_SOURCE_DIR}/dist/libantlr4-runtime.dylib)
set(ANTLR_LIB ${CMAKE_SOURCE_DIR}/dist/libantlr4-runtime.dylib)
endif()
file(GLOB SRC
*.cpp generated/*.cpp)
......@@ -19,9 +21,9 @@ target_include_directories(${LIBRARY_NAME}
${CMAKE_BINARY_DIR}
)
target_link_libraries(${LIBRARY_NAME}
PUBLIC xacc
PUBLIC xacc xacc-quantum-gate CppMicroServices
${ANTLR_LIB}
CppMicroServices)
)
set(_bundle_name xacc_lang_compiler)
set_target_properties(${LIBRARY_NAME}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment