remove "config: custom" option; fixes #135
This commit is contained in:
@ -1,17 +0,0 @@
|
||||
[project]
|
||||
name: example
|
||||
min_cmake_version: 2.8
|
||||
|
||||
[cxx]
|
||||
source: ../../../modules/cxx.cmake
|
||||
config: custom
|
||||
docopt: --cxx=<CXX> C++ compiler [default: g++].
|
||||
--extra-cxx-flags=<EXTRA_CXXFLAGS> Extra C++ compiler flags [default: ''].
|
||||
export: 'CXX=%s' % arguments['--cxx']
|
||||
define: '-DEXTRA_CXXFLAGS="%s"' % arguments['--extra-cxx-flags']
|
||||
|
||||
[default_build_paths]
|
||||
source: ../../../modules/default_build_paths.cmake
|
||||
|
||||
[src]
|
||||
source: ../../../modules/src.cmake
|
@ -1 +0,0 @@
|
||||
add_executable(example example.cpp)
|
@ -1,7 +0,0 @@
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "PASSED";
|
||||
return 0;
|
||||
}
|
@ -93,10 +93,6 @@ def configure_build_and_exe(name, setup_command, launcher=None):
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
def test_cxx_custom():
|
||||
configure_build_and_exe('cxx_custom', 'python setup.py --cxx=g++')
|
||||
|
||||
|
||||
def test_extra_cmake_options():
|
||||
configure_build_and_exe('extra_cmake_options', 'python setup.py --cxx=g++ --cmake-options="-DENABLE_SOMETHING=OFF -DENABLE_FOO=ON"')
|
||||
|
||||
|
Reference in New Issue
Block a user