2016-09-20 00:44:06 +03:00
|
|
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
|
2016-09-28 16:07:42 +03:00
|
|
|
"int main() {return 0;}\n")
|
2016-09-20 00:44:06 +03:00
|
|
|
add_executable(test_prog "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
|
|
|
|
|
|
|
|
install(TARGETS test_prog DESTINATION foo COMPONENT applications)
|
|
|
|
|
|
|
|
set(CPACK_RPM_FILE_NAME "RPM-DEFAULT")
|
|
|
|
|
|
|
|
set(CPACK_PACKAGE_NAME "source_package")
|