Notes |
|
(0034788)
|
Brad King
|
2013-12-18 11:23
|
|
After extracting the example I can reproduce this as follows:
$ cd cpu_info
$ rm -rf build
$ mkdir build
$ cd build
$ cmake .. -GNinja
$ ninja |cat
[1/5] Building C object CMakeFiles/cpu_info.dir/main.c.o
[2/5] Building ASM object CMakeFiles/cpu_info.dir/cpu-topology/get_cpuid_lix64.s.o
[3/5] Building C object CMakeFiles/cpu_info.dir/cpu-topology/cpu_topo.c.o
[4/5] Building C object CMakeFiles/cpu_info.dir/cpu-topology/util_os.c.o
[5/5] Linking C executable cpu_info
$ ninja |cat
[1/2] Building ASM object CMakeFiles/cpu_info.dir/cpu-topology/get_cpuid_lix64.s.o
[2/2] Linking C executable cpu_info
$ ninja |cat
[1/2] Building ASM object CMakeFiles/cpu_info.dir/cpu-topology/get_cpuid_lix64.s.o
[2/2] Linking C executable cpu_info |
|
|
(0035747)
|
Максим Прохоренко
|
2014-04-20 11:31
|
|
I found two solutions to this problem
1. Try add get_cpuid_lix64.s.d file or
2. For gcc set (CMAKE_ASM_FLAGS "-x assembler-with-cpp"), and gcc generate .d file. |
|
|
(0042451)
|
Kitware Robot
|
2016-06-10 14:29
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|