Skip to content
Permalink
Browse files

Try editing install command

  • Loading branch information
leonardt committed Aug 8, 2019
1 parent 3459125 commit 728e14a31b4e02a3b9f47977ffe021f38cc53f2f
Showing with 4 additions and 2 deletions.
  1. +1 −1 CMakeLists.txt.in
  2. +2 −0 release/Makefile
  3. +1 −1 src/CMakeLists.txt
@@ -12,7 +12,7 @@ ExternalProject_Add(verilogAST
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/verilogAST-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
INSTALL_COMMAND "${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${CMAKE_SOURCE_DIR} --build . --target install"
TEST_COMMAND ""
)
project(googletest-download NONE)
@@ -12,6 +12,7 @@ endif
install:
install bin/coreir* $(prefix)/bin
install lib/libcoreir* $(prefix)/lib
install lib/libverilogAST* $(prefix)/lib
install -d $(prefix)/include/coreir-c
install -d $(prefix)/include/coreir/ir/casting
install -d $(prefix)/include/coreir/common
@@ -30,6 +31,7 @@ install:
install include/coreir/passes/analysis/* $(prefix)/include/coreir/passes/analysis
install include/coreir/passes/transform/* $(prefix)/include/coreir/passes/transform
install include/coreir/simulator/* $(prefix)/include/coreir/simulator
install include/verilogAST.hpp $(prefix)/include

.PHONY: uninstall
uninstall:
@@ -21,7 +21,7 @@ target_link_libraries(coreir verilogAST)

#Install libcoreir
install(
TARGETS coreir verilogAST
TARGETS coreir
DESTINATION lib
)

0 comments on commit 728e14a

Please sign in to comment.
You can’t perform that action at this time.