Skip to content

Commit

Permalink
chore: building tests with cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
beniz committed Jul 5, 2023
1 parent 85c8b43 commit 3b17156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Implementation:
The library makes use of C++ policy design for modularity, performance and putting the maximum burden on the checks at compile time. The implementation closely follows the algorithms described in (2), (6) and few other publications.

### Authors
libcmaes is designed and implemented by Emmanuel Benazera with help of Nikolaus Hansen, on behalf of Inria Saclay / Research group TAO and Laboratoir de l'Accélérateur linéaire, research group Appstats.
libcmaes was designed and implemented by Emmanuel Benazera with help of Nikolaus Hansen and contributors, on behalf of Inria Saclay / Research group TAO and Laboratoire de l'Accélérateur linéaire, research group Appstats.

### Build
Below are instruction for Linux systems, for building on Mac OSX, see https://github.com/beniz/libcmaes/wiki/Building-libcmaes-on-Mac-OSX
Expand All @@ -64,7 +64,7 @@ For compiling with CMake:
```
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local/
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local/ -DLIBCMAES_BUILD_TESTS=ON
make -j2
make install
```
Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
macro (cmaes_add_test name)
add_executable (t_${name} ${name}.cc)
target_link_libraries (t_${name} cmaes gflags)
add_executable (${name} ${name}.cc)
target_link_libraries (${name} cmaes gflags)
add_test (NAME ${name} COMMAND t_${name})
if (WIN32)
set_tests_properties (
Expand Down

0 comments on commit 3b17156

Please sign in to comment.