Skip to content

Commit 4000923

Browse files
committed
Update
1 parent 519bf64 commit 4000923

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

_posts/2024-12-06-compiling-applications.markdown

+13
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ find_package(HPX REQUIRED)
2323
add_hpx_executable(app SOURCES main.cpp)
2424
{% endhighlight %}
2525

26+
## Compiling a HPX application
27+
28+
To compile the HPX applicaiton, we generate a new folder `build`, and change the director, and call cmake. Note that `$HPX_INSTALL_DIR` is the path where
29+
you installed HPX.
30+
31+
32+
{% highlight bash %}
33+
$ mkdir build
34+
$ cd build
35+
$ cmake -DHPX_DIR=$HPX_INSTALL_DIR/hpx/lib64/cmake/HPX ..
36+
$ make
37+
{% endhighlight %}
38+
2639

2740

2841

0 commit comments

Comments
 (0)