~ubuntu-branches/ubuntu/utopic/drmips/utopic-backports

« back to all changes in this revision

Viewing changes to src/pc/DrMIPS/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Bruno Nova
  • Date: 2014-09-27 12:24:17 UTC
  • Revision ID: package-import@ubuntu.com-20140927122417-2gadkwt9k0u7j4zu
Tags: upstream-1.2.3
Import upstream version 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Subdirectory
 
2
add_subdirectory(src)
 
3
 
 
4
# Configurations
 
5
set(DRMIPS_JAR_PATH "${CMAKE_INSTALL_PREFIX}/${DRMIPS_SHARE_DIR}/${PROJECT_NAME}.jar")
 
6
configure_file(drmips.in drmips)
 
7
 
 
8
# Copy distributable static files to DRMIPS_ZIP_BUILD_DIR
 
9
message(STATUS "PC version: copying cpu,lang,lib to the ZIP build directory")
 
10
file(COPY cpu lang DESTINATION "${DRMIPS_ZIP_BUILD_DIR}")
 
11
message(STATUS "PC version: copying cpu,lang,lib to the ZIP build directory -- done")
 
12
 
 
13
# Install target
 
14
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/drmips" DESTINATION bin)
 
15
install(DIRECTORY cpu lang lib DESTINATION "${DRMIPS_SHARE_DIR}")