build_script:
- echo Running cmake...
- cd c:\projects\nlopt
- - cmake -G "%CMAKE_PLATFORM%" -DWITH_CXX=ON -DCMAKE_INSTALL_PREFIX="C:\projects\nlopt\install" .
+ - cmake -G "%CMAKE_PLATFORM%" -DNLOPT_CXX=ON -DCMAKE_INSTALL_PREFIX="C:\projects\nlopt\install" .
- cmake --build . --config %Configuration% --target install
- - xcopy Release\nlopt_cxx.dll test\Release
- ctest -C %Configuration% --output-on-failure --timeout 100