Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satyaki3794/7b32db24b505361d5a4e9553612daff6 to your computer and use it in GitHub Desktop.
Save satyaki3794/7b32db24b505361d5a4e9553612daff6 to your computer and use it in GitHub Desktop.
CMakeLists.txt
# Copyright (c) 2016 Satyaki Upadhyay
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
find_package(HPX)
add_hpx_component(sudoku
SOURCE_GLOB "sudoku.cp*"
HEADER_GLOB "sudoku.hp*"
DEPENDENCIES iostreams_component
FOLDER "Examples/Applications/sudoku"
AUTOGLOB)
add_hpx_executable(sudoku_client
SOURCES sudoku_client.cpp
DEPENDENCIES sudoku_component iostreams_component
FOLDER "Examples/Applications/sudoku")
# add dependencies to pseudo-target
add_hpx_pseudo_dependencies(examples.sudoku sudoku_client_exe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment