Commit Graph

221 Commits (cfee3bbc14031b4c51c0c6eceee9fa4fc8e4c726)

Author SHA1 Message Date
Duncan Ogilvie eaf03eb785 Add support for target condition
3 years ago
Duncan Ogilvie 2450cfb2c9 Implement conditional properties
3 years ago
Duncan Ogilvie af3807ca2b Add support for private- target options
3 years ago
Duncan Ogilvie 7b20d8c54c Restore [vcpkg].version functionality and add a test + documentation
4 years ago
MoAlyousef ffdedbdace fixes
4 years ago
MoAlyousef bb7a0bc0ed signal failure to write a vcpkg.json file
4 years ago
MoAlyousef a32caca8f0 fix fetching vcpkg
4 years ago
MoAlyousef f565ad2af0 fix formatting, add check for project version in manifest mode
4 years ago
MoAlyousef dc4b59f05d prelim vcpkg manifest support
4 years ago
Duncan Ogilvie 64b58425e6 Add missing code generation for link-options
4 years ago
Duncan Ogilvie d4f0cdf152 Allow test working directories with a relative path
4 years ago
Duncan Ogilvie acd3688d16 Fix [fetch-content]
4 years ago
Duncan Ogilvie 9622334bf1 Switch to using target_sources instead of passing sources directly to add_xxx
4 years ago
Duncan Ogilvie 6ad29ef624 Allow conditional subdirs
4 years ago
Duncan Ogilvie 718c2c7527 Get rid of redundant name field in cmkr init
4 years ago
Duncan Ogilvie 34c12379c2 Add a check to see whether cmkr was run before pushing
4 years ago
Duncan Ogilvie 6395267e4b Merge cmkrlib into the cmkr target
4 years ago
Duncan Ogilvie c4673d59e2 Simplify default conditions
4 years ago
Duncan Ogilvie 220dec6bbb
Merge pull request #18 from darknessxk/task/change-init-code
4 years ago
darknessxk fbd07c47bc
Added argument to target name
4 years ago
Duncan Ogilvie 17d4dc0555 Move all links to the new organization
4 years ago
Duncan Ogilvie 7cdf36f317 Initial support for conditional arguments
4 years ago
Duncan Ogilvie bf14f069a7 Minor fixes (removed TODOs and rename checks)
4 years ago
Duncan Ogilvie 3b4bc919a1 Merge branch 'bootstrapper-upgrade'
4 years ago
Duncan Ogilvie 8f393d967d Make cmkr bootstrapper more robust
4 years ago
Duncan Ogilvie 1cf9240579 Support an array of properties
4 years ago
Duncan Ogilvie 326647011b Initial attempt at adding tests
4 years ago
Duncan Ogilvie 598c9b9ba8 Sort globbed files alphabetically for consistent cross-OS generation
4 years ago
Duncan Ogilvie d62dff29b1 Implement stronger type checking for optional values
4 years ago
Duncan Ogilvie 5312b44860 Fix warnings on AppleClang 12
4 years ago
Duncan Ogilvie 6162e86329 Respect default members while building
4 years ago
Duncan Ogilvie 5a20c0fe42 Initial vcpkg support
4 years ago
Duncan Ogilvie b5752b7c2b Breaking change, rename 'cmake.minimum' to 'cmake.version' and make it optional
4 years ago
Duncan Ogilvie 84f6b39f35 Clean up cmkr bootstrapping
4 years ago
Duncan Ogilvie 8e163522c7 Add error checking for " at the end of injected cmake blocks
4 years ago
Duncan Ogilvie 555c2d04ef Make the first executable the startup project in Visual Studio
4 years ago
Duncan Ogilvie 6e48ec7782 Generate configure_file for every cmake.toml file
4 years ago
Duncan Ogilvie c51f9cd311 Fix typo in target type enum
4 years ago
Duncan Ogilvie 868d991c7c Fix path expansion for subdirectories
4 years ago
Duncan Ogilvie 82338cd575 Fix compilation on Ubuntu
4 years ago
Duncan Ogilvie f2dbd1fcb8 Refactor cmake generation
4 years ago
Duncan Ogilvie 1af0b5f1cc Add supporrt for cmkr-include
4 years ago
Duncan Ogilvie 5c7f6c979e Clean up command generation
4 years ago
Duncan Ogilvie 105e0aaeb9 Add support for project.description and project.languages
4 years ago
Duncan Ogilvie 206c658294 Simplify toml deserialization a lot
4 years ago
Duncan Ogilvie d89baa46e2 Fix custom target support
4 years ago
Duncan Ogilvie 461f26d0c6 Bugfixes
4 years ago
Duncan Ogilvie 1e8b756276 Move target type handling to an enum for refactor
4 years ago
Duncan Ogilvie 7f349218fd Automatically generate folder names for subdirs
4 years ago
Duncan Ogilvie 028e202e61 Rename inject-after/before to cmake-after/before
4 years ago
Duncan Ogilvie 6000629f9a Properly quote CMake command arguments with the wrapper
4 years ago
Duncan Ogilvie f32ea490fe Support inject and include for targets
4 years ago
Duncan Ogilvie db4e710446 Fix source_group with subdirectories and move add_subdirectory calls to before the targets
4 years ago
Duncan Ogilvie f9de5c67ef Differentiate between root and subdirectory generation
4 years ago
Duncan Ogilvie 7828461a42 Minor improvements to property ordering
4 years ago
Duncan Ogilvie fdd9a3d134 Improve CMakeLists.txt generation to not touch the file when there are no changes
4 years ago
Duncan Ogilvie b6d629b9f4 Support more target_xxx commands
4 years ago
Duncan Ogilvie ad3869da11 Emit add_subdirectory calls after the project but before the targets
4 years ago
Duncan Ogilvie f905440871 Preserve ordering and switch target syntax to use tables
4 years ago
Duncan Ogilvie f4ef95eabc Add inject-before and inject-after
4 years ago
Duncan Ogilvie 0e2cddcbe6 Add support for include-before and include-after
4 years ago
Duncan Ogilvie 00969ee77d WIP DSL for generating cmake
4 years ago
Duncan Ogilvie 173c5e0f58 Restructure project
4 years ago
Duncan Ogilvie f929cf5f80 Recursively iterate directories
4 years ago
Duncan Ogilvie eaa5e62396 Rename various options to match CMake's naming better and refactor
4 years ago
Mohammed Alyousef 8d0c8678c4 add mpark_variant
4 years ago
Mohammed Alyousef 369ef8f68d
Merge pull request #3 from mrexodia/fix-windows
4 years ago
Duncan Ogilvie 1d1ea3fdfd Fix path generation on Windows
4 years ago
MoAlyousef f8ab24e0a2 bump 0.1.3
4 years ago
MoAlyousef 16e68d7542 fix C++11 build
4 years ago
MoAlyousef 5dc71f9ba1 support building with C++11, adding linux github actions
4 years ago
MoAlyousef ba2c52dd39 unify error messages
4 years ago
MoAlyousef 41b00b4f98 reflect gen code in new CMakeLists.txt
4 years ago
Duncan Ogilvie f29f9fa365 Implement CMake bootstrapping + integration
4 years ago
Mohammed Alyousef 887f9e4ece add prompt if CMakeLists.txt already exists
4 years ago
Mohammed Alyousef fa510bb00e bump 0.1.2
4 years ago
MoAlyousef 31bf4e3e96 fix == error
4 years ago
Mohammed Alyousef 4e55489845 update 0.1.1
4 years ago
MoAlyousef 18034af6ce update readme
4 years ago
MoAlyousef 9c347b2851 remove test for now from template
4 years ago
Mohammed Alyousef 0bc49e4ea7
Update args.cpp
4 years ago
Mohammed Alyousef ef166277ea support testing
4 years ago
Mohammed Alyousef 2117893b87 fix for msvc
4 years ago
Mohammed Alyousef b9d403c201 fix GA build
4 years ago
Mohammed Alyousef b8fbdb2bed create include dir by default
4 years ago
Mohammed Alyousef 221003f199 support interfaces and aliases
4 years ago
Mohammed Alyousef fa35d54009 fix path ostream
4 years ago
MoAlyousef e6219d6571 add option comments
4 years ago
MoAlyousef 3b09103d98 add globbing, package components and options
4 years ago
Mohammed Alyousef 2636acbdb1
Update gen.cpp
4 years ago
MoAlyousef 95b0ee8d40 Add comment for files generated by cmkr
4 years ago
MoAlyousef c306fc01d0 missing return
4 years ago
MoAlyousef a53aa34036 add arg clean
4 years ago
MoAlyousef 606d942ca0 add clean command
4 years ago
MoAlyousef ff53b00f28 add include
4 years ago
MoAlyousef c1953bbb6f add quotes to generator
4 years ago
MoAlyousef 7ec2279a77 throw when no cmake.toml is found
4 years ago
MoAlyousef b64d5a370d add cmake class
4 years ago
MoAlyousef c2885a09f2 refactoring
4 years ago
MoAlyousef 65d03aa50e add missing header
4 years ago
MoAlyousef 4688ba718c refactor generate_project code
4 years ago
MoAlyousef 76a4367b57 add getter
4 years ago
MoAlyousef 0294b95cfc add default
4 years ago
MoAlyousef a6239fd335 add error class
4 years ago
MoAlyousef 6035d3ae21 add cmake args
4 years ago
MoAlyousef 11b3061d47 require cmake 3.14 or higher
4 years ago
MoAlyousef c20781f970 formatting
4 years ago
MoAlyousef d31c830b4b rename generated function
4 years ago
MoAlyousef 4cd16c8e42 add missing header
4 years ago
MoAlyousef 52603dab4f fix fs to string conversion
4 years ago
MoAlyousef e382482021 fixes
4 years ago
MoAlyousef 4db372900d add defs
4 years ago
MoAlyousef de29e1aacb use return value
4 years ago
MoAlyousef d59a238338 merge bin types to one
4 years ago
MoAlyousef 497f06b0f3 commenting out unused fields
4 years ago
MoAlyousef c03c9a2d0d add missing fields
4 years ago
MoAlyousef 9b44d37a78 add missing fields
4 years ago
Mohammed Alyousef 2aca3cbc8d
Update help.hpp
4 years ago
MoAlyousef 9782c40832 do the required only
4 years ago
MoAlyousef 3ca8866752 first commit
4 years ago
MoAlyousef 1ab5e3f9f7 first commit
4 years ago