mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Instead of manually and always resolving to monad-linux/{bin,lib}, we
use the CMake `install()` command to generate a `make install` target
which places powershell, libpshost, and libpsnative in
${CMAKE_INSTALL_PREFIX}/{bin,lib} respectively. CMAKE_INSTALL_PREFIX
defaults to `/usr/local` which we will want upon actual package
installation. During development, we will override this to be the path
to monad-linux in the superproject's Makefile.
Also move test output so monad-native Jenkins job can pick it up.
11 lines
209 B
CMake
11 lines
209 B
CMake
cmake_minimum_required(VERSION 2.8.4)
|
|
project(MONAD_NATIVE)
|
|
|
|
add_compile_options(-std=c++11 -Wall)
|
|
|
|
# test in BUILD_DIR
|
|
enable_testing()
|
|
add_subdirectory(tests)
|
|
add_subdirectory(native)
|
|
add_subdirectory(host)
|