Commit a1c66501891a8309281215bbb90254d24d3fa7d0

Authored by David Sánchez
1 parent 5ccd16d7

biicode support added

Showing 2 changed files with 17 additions and 4 deletions
CMakeLists.txt
... ... @@ -18,6 +18,14 @@
18 18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 19 # THE SOFTWARE.
20 20  
  21 +IF(BIICODE)
  22 + include(biicode/cmake/tools)
  23 + ADD_BIICODE_TARGETS()
  24 + ACTIVATE_CPP11(INTERFACE ${BII_BLOCK_TARGET})
  25 +RETURN()
  26 +
  27 +ENDIF()
  28 +
21 29 cmake_minimum_required(VERSION 2.6)
22 30 project(cxxopts)
23 31  
... ... @@ -36,7 +44,4 @@ if(CXXOPTS_USE_UNICODE_HELP)
36 44 set(CXXOPTS_LINKER_LIBRARIES "${ICU_LIBRARIES}")
37 45 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCXXOPTS_USE_UNICODE")
38 46  
39   -endif()
40   -
41   -add_subdirectory(src)
42   -
  47 +endif()
43 48 \ No newline at end of file
... ...
biicode.conf 0 → 100644
  1 +# Biicode configuration file
  2 +
  3 +[requirements]
  4 + biicode/cmake: 3
  5 +
  6 +
  7 +[parent]
  8 + david/cxxopts: 0
0 9 \ No newline at end of file
... ...