Commit Graph

16 Commits

Author SHA1 Message Date
Mario Badr
471476d358 Add install destination for library 2016-11-30 18:01:13 -05:00
Mario Badr
b1795c27e4 Use INTERFACE to pass on unicode dependency
Linking the cxxopts library with the unicode libraries and specifying
INTERFACE should ensure executables that link with cxxopts will also
link with the unicode libraries.
2016-11-30 18:01:13 -05:00
Mario Badr
dc3d58833b Do not break backward compatibility
cxxopts.hpp is a single file and should not be in its own directory for
its namespace.
2016-11-30 18:01:13 -05:00
Mario Badr
f7cb4765d3 Use current source directory for target sources 2016-11-30 18:01:13 -05:00
Mario Badr
01417cf390 Do not use CMAKE_SOURCE_DIR on include dirs
CMAKE_SOURCE_DIR can be different depending on where add_subdirectory is
called.
2016-11-30 18:01:13 -05:00
Mario Badr
f4b2e15649 Use cmake interface library 2016-11-30 18:01:13 -05:00
Jarryd Beck
55bfe49aa0 options test 2016-08-26 08:22:04 +10:00
Jarryd Beck
ca9d4e4825 update cmake version 2016-08-25 18:35:22 +10:00
Jarryd Beck
2d480c0228 add testing 2016-08-25 08:49:56 +10:00
Kevin Brightwell
774d455dc7 Update CMakeLists to be more configurable
* Add cxxopts.hpp as a source file to executable
* Add msvc options for compiling
* Add CXXOPTS_BUILD_EXAMPLES option to CMake build
  * This is helpful when using CMake's ExternalProject_add()
  * It is ON by default, but configurable from the command-line.
2016-06-15 20:32:32 -04:00
David Sánchez Falero
507a3a6ec5 Update CMakeLists.txt 2015-03-18 17:31:29 +01:00
David Sánchez
a1c6650189 biicode support added 2015-03-18 13:26:09 +01:00
Jarryd Beck
8d7c4ea43e unicode configuration 2014-10-27 22:06:24 +11:00
Jarryd Beck
9509ca94f2 unicode 2014-10-27 16:45:13 +11:00
Jarryd Beck
e19872b7c0 cmake copyright 2014-10-02 21:12:28 +10:00
Jarryd Beck
2deb5d87fb initial commit 2014-09-10 16:47:22 +10:00