Logo
Explore Help
Sign In
emu-mirror/Lime3DS
1
0
Fork 0
You've already forked Lime3DS
mirror of https://github.com/Lime3DS/Lime3DS.git synced 2025-01-29 14:44:00 +01:00
Code Issues Packages Projects Releases Wiki Activity
Lime3DS/externals/getopt/CMakeLists.txt

10 lines
217 B
CMake
Raw Normal View History

CMakeLists: Derive the source directory grouping from targets themselves Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
2017-12-10 18:55:03 -05:00
add_library(getopt
getopt.c
getopt.h
)
create_target_directory_groups(getopt)
Implement new argument parsing using getopt and add the corresponding library to externals
2015-06-22 20:59:00 -04:00
getopt: Fix compilation settings INTERFACE doesn't define the symbol when compiling the library itself. PUBLIC should be used when the definition is needed both by the library and by the users.
2015-07-13 19:46:11 -03:00
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 52ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API