Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- project(foo)
- add_executable(foo_exe)
- target_sources(foo_exe PRIVATE main.c)
- # Uncomment these 2 lines to make the "LANGUAG" work
- #get_source_file_property(_LOCATION main.c LOCATION)
- #message("LOCATION: ${_LOCATION}")
- get_source_file_property(_LANGUAGE main.c LANGUAGE)
- message("LANGUAGE: ${_LANGUAGE}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement